Skip to content
Permalink
Browse files
When setting scale range, make sure to set min before max scale
This ensures the limit on max scale imposed by previously set min
scale does not trim the new value.

Fixes #15463
  • Loading branch information
strk committed May 25, 2017
1 parent b0268ef commit 55ffbf5e932ede65144474c4854000708757b700
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsscalerangewidget.cpp
@@ -132,8 +132,8 @@ double QgsScaleRangeWidget::maximumScaleDenom()

void QgsScaleRangeWidget::setScaleRange( double min, double max )
{
setMaximumScale( max );
setMinimumScale( min );
setMaximumScale( max );
}

void QgsScaleRangeWidget::emitRangeChanged()

0 comments on commit 55ffbf5

Please sign in to comment.