Fix update of fonts in summary and grid cross plot axes

This commit is contained in:
Gaute Lindkvist
2019-10-25 09:40:57 +02:00
parent a4c78cb7c3
commit 0e9cda8e84
10 changed files with 23 additions and 56 deletions

View File

@@ -22,7 +22,7 @@
#include "RigEquil.h"
#include "RimEclipseCase.h"
#include "RimRiuQwtPlotOwnerInterface.h"
#include "RimPlotInterface.h"
#include "RimTools.h"
#include "RimViewWindow.h"
@@ -158,11 +158,11 @@ void RimPlotAxisAnnotation::fieldChangedByUi( const caf::PdmFieldHandle* changed
const QVariant& oldValue,
const QVariant& newValue )
{
RimRiuQwtPlotOwnerInterface* parentPlot = nullptr;
RimPlotInterface* parentPlot = nullptr;
this->firstAncestorOrThisOfType( parentPlot );
if ( parentPlot )
{
parentPlot->updateAxisDisplay();
parentPlot->updateAxes();
}
}