Skip to content
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

(cherry picked from commit 55ffbf5)
  • Loading branch information
strk authored and jef-n committed May 26, 2017
1 parent e0cad1f commit 8ccb4c4399fd1550488fe5d15ff4c54fe11cb603
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsscalerangewidget.cpp
@@ -128,8 +128,8 @@ double QgsScaleRangeWidget::maximumScaleDenom()

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

void QgsScaleRangeWidget::emitRangeChanged()

0 comments on commit 8ccb4c4

Please sign in to comment.