Skip to content

Commit

Permalink
force desktop selection cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Feb 7, 2017
1 parent 479f809 commit 5f3c354
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/installation/widgets/system_role.rb
Expand Up @@ -24,6 +24,7 @@
require "installation/services"
require "installation/custom_patterns"

Yast.import "DefaultDesktop"
Yast.import "ProductControl"
Yast.import "ProductFeatures"

Expand Down Expand Up @@ -168,6 +169,9 @@ def store
# set flag to show custom patterns only if custom role selected
CustomPatterns.show = value == "custom"
store_orig
# force reset of Default Desktop, because it is cached and when going
# forward and backward, it can be changed
Yast::DefaultDesktop.ForceReinit
end
end
end
Expand Down

0 comments on commit 5f3c354

Please sign in to comment.