mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
#2915 Summary Preview Plot : Do not add to MDI aread to avoid ghost MDI window
This commit is contained in:
parent
e5227c15f0
commit
ca2a46a588
@ -123,7 +123,6 @@ RimSummaryPlot::RimSummaryPlot()
|
||||
CAF_PDM_InitField(&m_isAutoZoom_OBSOLETE, "AutoZoom", true, "Auto Zoom", "", "", "");
|
||||
m_isAutoZoom_OBSOLETE.uiCapability()->setUiHidden(true);
|
||||
m_isAutoZoom_OBSOLETE.xmlCapability()->setIOWritable(false);
|
||||
setAsPlotMdiWindow();
|
||||
|
||||
m_isCrossPlot = false;
|
||||
|
||||
|
@ -48,6 +48,8 @@ RimSummaryPlotCollection::~RimSummaryPlotCollection()
|
||||
RimSummaryPlot* RimSummaryPlotCollection::createSummaryPlotWithAutoTitle()
|
||||
{
|
||||
RimSummaryPlot* plot = new RimSummaryPlot();
|
||||
plot->setAsPlotMdiWindow();
|
||||
|
||||
plot->enableAutoPlotTitle(true);
|
||||
summaryPlots.push_back(plot);
|
||||
|
||||
@ -60,6 +62,8 @@ RimSummaryPlot* RimSummaryPlotCollection::createSummaryPlotWithAutoTitle()
|
||||
RimSummaryPlot* RimSummaryPlotCollection::createNamedSummaryPlot(const QString& name)
|
||||
{
|
||||
RimSummaryPlot* plot = new RimSummaryPlot();
|
||||
plot->setAsPlotMdiWindow();
|
||||
|
||||
summaryPlots.push_back(plot);
|
||||
plot->setDescription(name);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user