[partition] Changing swap choice also changes preview

- When selecting *erase*, you may be able to change the swap
   settings. If so, changing swap settings should change the
   preview.
This commit is contained in:
Adriaan de Groot 2018-12-04 10:34:02 +01:00
parent 0231619c7c
commit 988a0a5388

View File

@ -306,6 +306,8 @@ ChoicePage::setupChoices()
connect( this, &ChoicePage::actionChosen, connect( this, &ChoicePage::actionChosen,
this, &ChoicePage::onActionChanged ); this, &ChoicePage::onActionChanged );
connect( m_eraseSwapChoices, QOverload<int>::of(&QComboBox::currentIndexChanged),
this, &ChoicePage::onActionChanged );
CALAMARES_RETRANSLATE( CALAMARES_RETRANSLATE(
updateSwapChoicesTr( m_eraseSwapChoices ); updateSwapChoicesTr( m_eraseSwapChoices );