mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix update of fonts in summary and grid cross plot axes
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#include "RigStatisticsCalculator.h"
|
||||
|
||||
#include "RimPlotAxisAnnotation.h"
|
||||
#include "RimRiuQwtPlotOwnerInterface.h"
|
||||
#include "RimPlotInterface.h"
|
||||
|
||||
#include "cafPdmUiSliderEditor.h"
|
||||
|
||||
@@ -416,17 +416,17 @@ void RimPlotAxisProperties::fieldChangedByUi( const caf::PdmFieldHandle* changed
|
||||
m_isAutoZoom = false;
|
||||
}
|
||||
|
||||
RimRiuQwtPlotOwnerInterface* parentPlot = nullptr;
|
||||
RimPlotInterface* parentPlot = nullptr;
|
||||
this->firstAncestorOrThisOfType( parentPlot );
|
||||
if ( parentPlot )
|
||||
{
|
||||
if ( changedField == &isLogarithmicScaleEnabled )
|
||||
{
|
||||
parentPlot->updateAxisScaling();
|
||||
parentPlot->loadDataAndUpdate();
|
||||
}
|
||||
else
|
||||
{
|
||||
parentPlot->updateAxisDisplay();
|
||||
parentPlot->updateAxes();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user