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, [=] {