From b3f86925a8945291d31bfd7ed3c18debdd37105f Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 8 Jan 2016 16:51:25 +0100 Subject: [PATCH] Fix m_choice state. --- src/modules/partition/gui/ChoicePage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 8e9a467c2..a4c1f6d07 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -239,8 +239,8 @@ ChoicePage::setupChoices() else // An action was unpicked, either on its own or because of another selection. { if ( m_grp->checkedButton() == nullptr ) // If no other action is chosen, we must - { // set m_choice to NoChoice and reset previews. - m_choice == NoChoice; + { // set m_choice to NoChoice and reset previews. + m_choice = NoChoice; setNextEnabled( false ); emit actionChosen(); }