Don't rely on the activated signal in ReplacePage.

This commit is contained in:
Teo Mrnjavac 2014-12-17 17:04:10 +01:00
parent a7b4c01ec0
commit c21f426dee

View File

@ -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(