Commit 181e48b5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use multiselection

parent 581cd035
Pipeline #44876 passed with stage
in 9 minutes and 24 seconds
......@@ -40,4 +40,5 @@ void GroupManagementWidgetTest::shouldHaveDefaultValues()
auto mListView = w.findChild<QListView *>(QStringLiteral("mListView"));
QVERIFY(mListView);
QCOMPARE(mListView->selectionMode(), QAbstractItemView::MultiSelection);
}
......@@ -32,6 +32,7 @@ GroupManagementWidget::GroupManagementWidget(QWidget *parent)
mListView->setObjectName(QStringLiteral("mListView"));
mainLayout->addWidget(mListView);
mListView->setSelectionMode(QAbstractItemView::MultiSelection);
init();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment