From 45aac4ea780a6739d6651dbf20fadd712afe4d34 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 15 Jul 2015 13:35:07 +0200 Subject: [PATCH] Reset filesystem combo box to current filesystem if going back to "Keep" --- src/modules/partition/gui/EditExistingPartitionDialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/partition/gui/EditExistingPartitionDialog.cpp b/src/modules/partition/gui/EditExistingPartitionDialog.cpp index 0f6262da1..6a7f4bab0 100644 --- a/src/modules/partition/gui/EditExistingPartitionDialog.cpp +++ b/src/modules/partition/gui/EditExistingPartitionDialog.cpp @@ -71,6 +71,9 @@ EditExistingPartitionDialog::EditExistingPartitionDialog( Device* device, Partit m_ui->fileSystemLabel->setEnabled( doFormat ); m_ui->fileSystemComboBox->setEnabled( doFormat ); + if ( !doFormat ) + m_ui->fileSystemComboBox->setCurrentText( m_partition->fileSystem().name() ); + updateMountPointPicker(); } );