Skip to content

Commit

Permalink
Keep the selected product in the desktop selection dialog (bsc#1088660)
Browse files Browse the repository at this point in the history
Fixes the problem with unselected product when going back

- 4.0.56
  • Loading branch information
lslezak committed May 3, 2018
1 parent a5e1c8c commit 5ac80c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-installation.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 3 07:34:57 UTC 2018 - lslezak@suse.cz

- Keep the selected product in the desktop selection dialog
(bsc#1088660)
- 4.0.57

-------------------------------------------------------------------
Wed May 2 15:44:18 UTC 2018 - shundhammer@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-installation
Version: 4.0.56
Version: 4.0.57
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 2 additions & 1 deletion src/lib/installation/widgets/system_roles_radio_buttons.rb
Expand Up @@ -52,7 +52,8 @@ def store
CustomPatterns.show = value == "custom"
store_orig

Yast::Packages.Reset([])
# keep the selected products
Yast::Packages.Reset([:product])
if value == "custom"
# for custom role do not use any desktop
Yast::DefaultDesktop.SetDesktop(nil)
Expand Down

0 comments on commit 5ac80c0

Please sign in to comment.