[partition] Fix up combo-box handling for replace-fs choice

This commit is contained in:
Adriaan de Groot 2022-06-02 18:32:54 +02:00
parent 3b55b65a34
commit 425901fb98

View File

@ -292,7 +292,7 @@ ChoicePage::setupChoices()
// Also offer it for "replace
auto* box = new QComboBox;
box->addItems( m_config->eraseFsTypes() );
connect( box, &QComboBox::currentTextChanged, m_config, &Config : setReplaceFsChoice );
connect( box, &QComboBox::currentTextChanged, m_config, &Config::setReplaceFilesystemChoice );
connect( m_config, &Config::replaceModeFilesystemChanged, this, &ChoicePage::onActionChanged );
m_replaceButton->addOptionsComboBox( box );
}