#3905 Summary Stepping : Avoid updateUI when not required

This commit is contained in:
Magne Sjaastad 2018-12-19 11:21:18 +01:00
parent 8011c9994d
commit 6a340c5b99

View File

@ -524,10 +524,9 @@ void RiuPlotMainWindow::updateSummaryPlotToolBar()
if (!m_summaryPlotToolBarEditor->isEditorDataValid(toolBarFields))
{
m_summaryPlotToolBarEditor->setFields(toolBarFields);
m_summaryPlotToolBarEditor->updateUi();
}
m_summaryPlotToolBarEditor->updateUi();
m_summaryPlotToolBarEditor->show();
}
else