(#431) Handling viewer deletion by upper right X in window gracefully

This commit is contained in:
Pål Hagen
2015-09-08 11:11:42 +02:00
parent 1000c96c3e
commit 77c22e4562
3 changed files with 30 additions and 11 deletions

View File

@@ -59,9 +59,7 @@ RiuWellLogPlot::~RiuWellLogPlot()
{
if (m_plotDefinition)
{
m_plotDefinition->showWindow = false;
m_plotDefinition->uiCapability()->updateUiIconFromToggleField();
m_plotDefinition->updateConnectedEditors();
m_plotDefinition->handleViewerDeletion();
}
}