Fix m_choice state.
This commit is contained in:
parent
b422f646a6
commit
b3f86925a8
@ -239,8 +239,8 @@ ChoicePage::setupChoices()
|
|||||||
else // An action was unpicked, either on its own or because of another selection.
|
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
|
if ( m_grp->checkedButton() == nullptr ) // If no other action is chosen, we must
|
||||||
{ // set m_choice to NoChoice and reset previews.
|
{ // set m_choice to NoChoice and reset previews.
|
||||||
m_choice == NoChoice;
|
m_choice = NoChoice;
|
||||||
setNextEnabled( false );
|
setNextEnabled( false );
|
||||||
emit actionChosen();
|
emit actionChosen();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user