#1914 Curve creator. Bring curve creator dialog to front on new plot and edit plot commands

This commit is contained in:
Bjørn Erik Jensen
2017-09-21 15:48:00 +02:00
parent 00fc2a2eaa
commit e7f19ff89d
2 changed files with 12 additions and 0 deletions

View File

@@ -82,7 +82,13 @@ void RicEditSummaryPlotFeature::onActionTriggered(bool isChecked)
auto curveCreator = m_curveCreatorFactory->curveCreator();
if (!dialog->isVisible())
{
dialog->show();
}
else
{
dialog->raise();
}
// Set target plot
std::vector<RimSummaryPlot*> plots;

View File

@@ -63,7 +63,13 @@ void RicNewSummaryPlotFeature::onActionTriggered(bool isChecked)
auto curveCreator = m_curveCreatorFactory->curveCreator();
if (!dialog->isVisible())
{
dialog->show();
}
else
{
dialog->raise();
}
curveCreator->updateFromSummaryPlot(nullptr);
}