mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Delete object before notifying editors
This commit is contained in:
@@ -80,10 +80,10 @@ void RicDeleteItemExec::redo()
|
||||
}
|
||||
|
||||
listField->erase(m_commandData->m_indexToObject);
|
||||
delete obj;
|
||||
|
||||
listField->uiCapability()->updateConnectedEditors();
|
||||
|
||||
delete obj;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user