From 8525cefb6b8b2e9f1b347dcf67817d4a3de352c4 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 13 Jan 2016 17:55:51 +0100 Subject: [PATCH] Fix next status handling. --- src/modules/partition/gui/ChoicePage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index adaec7e1e..4221d15eb 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -515,7 +515,7 @@ ChoicePage::doAlongsideSetupSplitter( const QModelIndex& current, Calamares::Branding::instance()-> string( Calamares::Branding::ProductName ) ); - setNextEnabled( !m_beforePartitionBarsView->selectionModel()->selectedRows().isEmpty() ); + setNextEnabled( m_beforePartitionBarsView->selectionModel()->currentIndex().isValid() ); cDebug() << "Partition selected for Alongside."; }