[partition] All action-changes should update next

This commit is contained in:
Adriaan de Groot 2021-03-29 15:52:55 +02:00
parent 1fe337d6ed
commit 7a26143fbc

View File

@ -482,8 +482,6 @@ ChoicePage::applyActionChoice( InstallChoice choice )
[] {}, [] {},
this ); this );
} }
updateNextEnabled();
connect( m_beforePartitionBarsView->selectionModel(), connect( m_beforePartitionBarsView->selectionModel(),
SIGNAL( currentRowChanged( QModelIndex, QModelIndex ) ), SIGNAL( currentRowChanged( QModelIndex, QModelIndex ) ),
this, this,
@ -507,7 +505,6 @@ ChoicePage::applyActionChoice( InstallChoice choice )
}, },
this ); this );
} }
updateNextEnabled();
connect( m_beforePartitionBarsView->selectionModel(), connect( m_beforePartitionBarsView->selectionModel(),
SIGNAL( currentRowChanged( QModelIndex, QModelIndex ) ), SIGNAL( currentRowChanged( QModelIndex, QModelIndex ) ),
@ -517,9 +514,9 @@ ChoicePage::applyActionChoice( InstallChoice choice )
break; break;
case InstallChoice::NoChoice: case InstallChoice::NoChoice:
case InstallChoice::Manual: case InstallChoice::Manual:
updateNextEnabled();
break; break;
} }
updateNextEnabled();
updateActionChoicePreview( choice ); updateActionChoicePreview( choice );
} }