Commit 88cff66e authored by Victor Poughon's avatar Victor Poughon

fix list view layout & not calling update parameters

parent 1318ab98
Pipeline #1056 passed with stages
in 24 minutes and 9 seconds
......@@ -120,7 +120,6 @@ void QtWidgetListViewParameter::DoCreateWidget()
m_VLayout = new QHBoxLayout;
m_VLayout->setContentsMargins(0, 0, 0, 0);
m_VLayout->addWidget(m_ListView);
m_ListView->setMaximumSize(m_ListView->width() , 4* m_LineHeight);
m_VLayout->activate();
this->setLayout(m_VLayout);
......@@ -144,6 +143,9 @@ void QtWidgetListViewParameter::SelectedItems()
// make sure parameter is enabled
m_ListViewParam->SetActive(true);
m_ListViewParam->SetUserValue(true);
// Call the application DoUpdateParameters, then all widgets' DoUpdateGUI (including this one)
this->GetModel()->NotifyUpdate();
}
}
......
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