Skip to content

Commit

Permalink
Remember the state of the checkbox when leaving the dialog (bsc#1026155)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilson Souza committed Mar 15, 2017
1 parent af5ed73 commit e014680
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/registration/ui/addon_selection_base_dialog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ def addon_selected?(_addon)
# create the main dialog definition
# @return [Yast::Term] the main UI dialog term
def content
check_filter = self.class.filter_beta.nil? ? FILTER_BETAS_INITIALLY : self.class.filter_beta
VBox(
Left(Heading(heading)),
Left(CheckBox(Id(:filter_beta), Opt(:notify),
_("&Filter Out Beta Versions"), FILTER_BETAS_INITIALLY)),
_("&Filter Out Beta Versions"), check_filter)),
addons_box,
Left(Label(_("Details"))),
details_widget
Expand Down

0 comments on commit e014680

Please sign in to comment.