mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Delete object before notifying editors
This commit is contained in:
1 parent
82903afa25
commit
fdcee2dd42
1 file changed
+1
-1
@@ -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