From 3326ec4ace7d723b989823672fd4a858dd98cd15 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 2 Jul 2015 12:18:26 +0200 Subject: [PATCH] Clear mountPoint string when selecting a non-mountable filesystem type. CAL-249 #close I pushed a fix, please test and reopen if still broken. --- src/modules/partition/gui/CreatePartitionDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/partition/gui/CreatePartitionDialog.cpp b/src/modules/partition/gui/CreatePartitionDialog.cpp index 07edacc58..40c5f5367 100644 --- a/src/modules/partition/gui/CreatePartitionDialog.cpp +++ b/src/modules/partition/gui/CreatePartitionDialog.cpp @@ -160,6 +160,8 @@ CreatePartitionDialog::updateMountPointUi() } m_ui->mountPointLabel->setEnabled( enabled ); m_ui->mountPointComboBox->setEnabled( enabled ); + if ( !enabled ) + m_ui->mountPointComboBox->setCurrentText( QString() ); } void