#3841 Summary : Update stepping toolbar when curve is deleted

This commit is contained in:
Magne Sjaastad committed 2018-12-17 07:56:19 +01:00
1 parent 902473a4a5
commit 5e466ed5a9
2 files changed
+6 -1

No files matched your search

@@ -1000,6 +1000,10 @@ void RimSummaryPlot::deleteCurves(const std::vector<RimSummaryCurve*>& curves)
}
}
}
RiuPlotMainWindowTools::refreshToolbars();
updateCaseNameHasChanged();
}
@@ -505,9 +505,10 @@ void RiuPlotMainWindow::updateSummaryPlotToolBar()
if (!m_summaryPlotToolBarEditor->isEditorDataValid(toolBarFields))
{
m_summaryPlotToolBarEditor->setFields(toolBarFields);
m_summaryPlotToolBarEditor->updateUi();
}
m_summaryPlotToolBarEditor->updateUi();
m_summaryPlotToolBarEditor->show();
}
else