mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1883 AppFwk : Use UiWidgetBAsedObjectEditor from CustomObjectEditor
This commit is contained in:
@@ -652,7 +652,7 @@ void MainWindow::setPdmRoot(caf::PdmObjectHandle* pdmRoot)
|
||||
pdmRoot->descendantsIncludingThisOfType(obj);
|
||||
if (obj.size() == 1)
|
||||
{
|
||||
m_customObjectEditor->defineGrid(5, 4);
|
||||
m_customObjectEditor->defineGridLayout(5, 4);
|
||||
m_customObjectEditor->setPdmObject(obj[0]);
|
||||
|
||||
m_customObjectEditor->addBlankCell(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user