Update PartitionPage.cpp

increase readability.
main
Chantara Tith 10 years ago
parent 2050ce97d7
commit a25a0ffa2c

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

Loading…
Cancel
Save