From b02255519893ff5aec8df8f95fd4f0a3f575b829 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 18 Dec 2022 00:58:44 +0100 Subject: [PATCH] [partition] Assign the replace-mode FS when reading the configuration --- src/modules/partition/Config.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/partition/Config.cpp b/src/modules/partition/Config.cpp index 278503312..3212bf645 100644 --- a/src/modules/partition/Config.cpp +++ b/src/modules/partition/Config.cpp @@ -337,7 +337,9 @@ Config::fillConfigurationFSTypes( const QVariantMap& configurationMap ) Q_ASSERT( !m_eraseFsTypes.isEmpty() ); Q_ASSERT( m_eraseFsTypes.contains( fsRealName ) ); m_eraseFsTypeChoice = fsRealName; + m_replaceFileSystemChoice = fsRealName; Q_EMIT eraseModeFilesystemChanged( m_eraseFsTypeChoice ); + Q_EMIT replaceModeFilesystemChanged( m_replaceFileSystemChoice ); }