#3841 Summary : Update stepping toolbar when curve is deleted

This commit is contained in:
Magne Sjaastad 2018-12-14 12:13:59 +01:00
parent 902473a4a5
commit 5e466ed5a9
2 changed files with 6 additions and 1 deletions

View File

@ -1000,6 +1000,10 @@ void RimSummaryPlot::deleteCurves(const std::vector<RimSummaryCurve*>& curves)
}
}
}
RiuPlotMainWindowTools::refreshToolbars();
updateCaseNameHasChanged();
}

View File

@ -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