Actually set the selection model on the superclass.

main
Teo Mrnjavac 9 years ago
parent 55c52e654a
commit 110344e548

@ -497,6 +497,7 @@ PartitionLabelsView::setCustomNewRootLabel( const QString& text )
void void
PartitionLabelsView::setSelectionModel( QItemSelectionModel* selectionModel ) PartitionLabelsView::setSelectionModel( QItemSelectionModel* selectionModel )
{ {
QAbstractItemView::setSelectionModel( selectionModel );
connect( selectionModel, &QItemSelectionModel::selectionChanged, connect( selectionModel, &QItemSelectionModel::selectionChanged,
this, [=] this, [=]
{ {

Loading…
Cancel
Save