mirror of
https://github.com/OPM/ResInsight.git
synced 2026-07-31 16:58:18 -05:00
Performance: Update toolbar when required
This commit is contained in:
@@ -684,8 +684,11 @@ void RiuPlotMainWindow::updateMultiPlotToolBar()
|
||||
}
|
||||
else
|
||||
{
|
||||
m_multiPlotToolBarEditor->setFields( toolBarFields );
|
||||
m_multiPlotToolBarEditor->updateUi();
|
||||
if ( !m_multiPlotToolBarEditor->isEditorDataEqualAndValid( toolBarFields ) )
|
||||
{
|
||||
m_multiPlotToolBarEditor->setFields( toolBarFields );
|
||||
m_multiPlotToolBarEditor->updateUi();
|
||||
}
|
||||
m_multiPlotToolBarEditor->show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user