mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-03 10:03:20 -05:00
Make sure toolbar is refreshed when a new plot is added (#9199)
This commit is contained in:
committed by
Magne Sjaastad
parent
0dded5a252
commit
05e0817074
@@ -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();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user