From 988a0a53882e233397cc2451ba8de3e840a3e9ac Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 4 Dec 2018 10:34:02 +0100 Subject: [PATCH] [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. --- src/modules/partition/gui/ChoicePage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 27364e9bb..17bd06048 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -306,6 +306,8 @@ ChoicePage::setupChoices() connect( this, &ChoicePage::actionChosen, this, &ChoicePage::onActionChanged ); + connect( m_eraseSwapChoices, QOverload::of(&QComboBox::currentIndexChanged), + this, &ChoicePage::onActionChanged ); CALAMARES_RETRANSLATE( updateSwapChoicesTr( m_eraseSwapChoices );