Reset filesystem combo box to current filesystem if going back to "Keep"

This commit is contained in:
Teo Mrnjavac 2015-07-15 13:35:07 +02:00
parent 49f470b503
commit 45aac4ea78

View File

@ -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();
} );