mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#5167 Fix wrong update of plot axis range
* The order of arguments passed to setAxisScale was wrong
This commit is contained in:
1 parent
e0e984f703
commit
e894453f49
1 file changed
+1
-1
@@ -305,7 +305,7 @@ void RiuQwtPlotWidget::setAutoTickIntervalCounts( QwtPlot::Axis axis,
|
||||
this->setAxisMaxMinor( axis, maxMinorTickIntervalCount );
|
||||
// Reapply axis limits to force Qwt to use the tick settings.
|
||||
QwtInterval currentRange = this->axisInterval( axis );
|
||||
setAxisScale( currentRange.minValue(), currentRange.maxValue(), axis );
|
||||
setAxisScale( axis, currentRange.minValue(), currentRange.maxValue() );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user