[partition] Avoid sneaking an empty string into the mount points combo

This commit is contained in:
Adriaan de Groot 2018-05-15 08:26:01 -04:00
parent 255a99d714
commit 323d20d1a5

View File

@ -288,7 +288,7 @@ EditExistingPartitionDialog::updateMountPointPicker()
m_ui->mountPointLabel->setEnabled( canMount );
m_ui->mountPointComboBox->setEnabled( canMount );
if ( !canMount )
m_ui->mountPointComboBox->setCurrentText( QString() );
setSelectedMountPoint( m_ui->mountPointComboBox, QString() );
}
void