Merge pull request #242 from tctara/patch-1

Increase PartitionPage readability.
This commit is contained in:
Kevin Kofler 2016-05-14 19:05:09 +02:00
commit e41836179c

View File

@ -229,7 +229,7 @@ PartitionPage::onRevertClicked()
} ),
[ this ]{
m_lastSelectedBootLoaderIndex = -1;
if( !m_ui->bootLoaderComboBox->currentIndex() >= 0 ) {
if( m_ui->bootLoaderComboBox->currentIndex() < 0 ) {
m_ui->bootLoaderComboBox->setCurrentIndex( 0 );
}
},