mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Delete object before notifying editors
This commit is contained in:
parent
82903afa25
commit
fdcee2dd42
@ -80,10 +80,10 @@ void RicDeleteItemExec::redo()
|
||||
}
|
||||
|
||||
listField->erase(m_commandData->m_indexToObject);
|
||||
delete obj;
|
||||
|
||||
listField->uiCapability()->updateConnectedEditors();
|
||||
|
||||
delete obj;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user