diff --git a/plugins/gui/src/grouping/grouping_manager_widget.cpp b/plugins/gui/src/grouping/grouping_manager_widget.cpp index 7c1354457b1..ecd13b1b3ae 100644 --- a/plugins/gui/src/grouping/grouping_manager_widget.cpp +++ b/plugins/gui/src/grouping/grouping_manager_widget.cpp @@ -503,6 +503,11 @@ namespace hal // Replace InputDialog with SelectionTreeView SelectionTreeView* selectionTreeView = new SelectionTreeView(&dialog, true); + SelectionTreeModel* selectionTreeModel = new SelectionTreeModel(this); // Need to fully initialise SelectionTreeView with a model + SelectionTreeProxyModel* selectionTreeProxyModel = new SelectionTreeProxyModel(this); + selectionTreeProxyModel->setSourceModel(selectionTreeModel); + selectionTreeView->setModel(selectionTreeProxyModel); + selectionTreeView->populate(true, grpId); QPushButton* closeButton = new QPushButton("Close", &dialog);