Make sure toolbar is refreshed when a new plot is added (#9199)

This commit is contained in:
jonjenssen
2022-09-15 08:19:41 +02:00
committed by Magne Sjaastad
parent 0dded5a252
commit 05e0817074
24 changed files with 27 additions and 2 deletions
@@ -29,6 +29,8 @@
#include "RimWellLogPlot.h"
#include "RimWellLogTrack.h"
#include "RiuPlotMainWindowTools.h"
#include "RicWellLogTools.h"
#include <QAction>
@@ -57,6 +59,7 @@ void RicNewWellLogPlotFeature::onActionTriggered( bool isChecked )
RimWellLogPlot* plot = nullptr;
plotTrack->firstAncestorOrThisOfTypeAsserted( plot );
plot->zoomAll();
RiuPlotMainWindowTools::refreshToolbars();
}
//--------------------------------------------------------------------------------------------------