Update PartitionPage.cpp

increase readability.
This commit is contained in:
Chantara Tith 2016-05-14 02:29:56 +07:00
parent 2050ce97d7
commit a25a0ffa2c

View File

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