From c21f426deef56af4a83dd934372cd8c5a0cd6793 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 17 Dec 2014 17:04:10 +0100 Subject: [PATCH] Don't rely on the activated signal in ReplacePage. --- src/modules/partition/gui/ReplacePage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/partition/gui/ReplacePage.cpp b/src/modules/partition/gui/ReplacePage.cpp index 92bd9879f..86bc84b0f 100644 --- a/src/modules/partition/gui/ReplacePage.cpp +++ b/src/modules/partition/gui/ReplacePage.cpp @@ -53,7 +53,7 @@ ReplacePage::ReplacePage( PartitionCoreModule* core, QWidget* parent ) updateFromCurrentDevice(); } ); - connect( m_ui->partitionTreeView, &QAbstractItemView::activated, + connect( m_ui->partitionTreeView->selectionModel(), &QItemSelectionModel::currentRowChanged, this, &ReplacePage::onPartitionViewActivated ); CALAMARES_RETRANSLATE(