diff --git a/src/ui/ParameterInterface.cc b/src/ui/ParameterInterface.cc index 850a23abd237349ab9c476ac7e6730a843389444..cbc161dc9daf959d5995218ab778dc7ff557d175 100644 --- a/src/ui/ParameterInterface.cc +++ b/src/ui/ParameterInterface.cc @@ -16,8 +16,8 @@ ParameterInterface::ParameterInterface(QWidget *parent) : tree = new ParamTreeModel(); - treeView = new QTreeView(); - treeView->setModel(tree); + treeView = new QTreeView(this); + //treeView->setModel(tree); QStackedWidget* stack = m_ui->stackedWidget; stack->addWidget(treeView);