From 110344e548170786b4df1b10920a277fb915f650 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 13 Jan 2016 15:07:11 +0100 Subject: [PATCH] Actually set the selection model on the superclass. --- src/modules/partition/gui/PartitionLabelsView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/partition/gui/PartitionLabelsView.cpp b/src/modules/partition/gui/PartitionLabelsView.cpp index e3a2b2b1d..8bd800f89 100644 --- a/src/modules/partition/gui/PartitionLabelsView.cpp +++ b/src/modules/partition/gui/PartitionLabelsView.cpp @@ -497,6 +497,7 @@ PartitionLabelsView::setCustomNewRootLabel( const QString& text ) void PartitionLabelsView::setSelectionModel( QItemSelectionModel* selectionModel ) { + QAbstractItemView::setSelectionModel( selectionModel ); connect( selectionModel, &QItemSelectionModel::selectionChanged, this, [=] {