mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1938 Curve creator: Show Plot Data will not raise main plot window
This commit is contained in:
parent
074795300c
commit
4019e76ae1
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include "RiaApplication.h"
|
#include "RiaApplication.h"
|
||||||
|
|
||||||
|
#include "RimProject.h"
|
||||||
#include "RimSummaryPlot.h"
|
#include "RimSummaryPlot.h"
|
||||||
#include "RimWellLogPlot.h"
|
#include "RimWellLogPlot.h"
|
||||||
|
|
||||||
@ -242,7 +243,7 @@ void RicShowPlotDataFeature::showTextWindow(const QString& title, const QString&
|
|||||||
RiuMainPlotWindow* plotwindow = RiaApplication::instance()->mainPlotWindow();
|
RiuMainPlotWindow* plotwindow = RiaApplication::instance()->mainPlotWindow();
|
||||||
CVF_ASSERT(plotwindow);
|
CVF_ASSERT(plotwindow);
|
||||||
|
|
||||||
RicTextWidget* textWiget = new RicTextWidget(plotwindow);
|
RicTextWidget* textWiget = new RicTextWidget();
|
||||||
textWiget->setMinimumSize(400, 600);
|
textWiget->setMinimumSize(400, 600);
|
||||||
|
|
||||||
textWiget->setWindowTitle(title);
|
textWiget->setWindowTitle(title);
|
||||||
@ -252,13 +253,3 @@ void RicShowPlotDataFeature::showTextWindow(const QString& title, const QString&
|
|||||||
|
|
||||||
plotwindow->addToTemporaryWidgets(textWiget);
|
plotwindow->addToTemporaryWidgets(textWiget);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user