From a25a0ffa2c3ac3279f79cee13fdc7c610d4403f5 Mon Sep 17 00:00:00 2001 From: Chantara Tith Date: Sat, 14 May 2016 02:29:56 +0700 Subject: [PATCH] Update PartitionPage.cpp increase readability. --- src/modules/partition/gui/PartitionPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/partition/gui/PartitionPage.cpp b/src/modules/partition/gui/PartitionPage.cpp index 0dcc4cce9..16dc82a2d 100644 --- a/src/modules/partition/gui/PartitionPage.cpp +++ b/src/modules/partition/gui/PartitionPage.cpp @@ -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 ); } },