Skip to content
Permalink
Browse files

disable the scale widget if scale is locked

  • Loading branch information
3nids committed Jun 8, 2016
1 parent 50cada4 commit 5f50fc09268e792084d0901d5692be046034fa84
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgsstatusbarscalewidget.cpp
@@ -69,6 +69,7 @@ QgsStatusBarScaleWidget::QgsStatusBarScaleWidget( QgsMapCanvas *canvas, QWidget
connect( mScale, SIGNAL( scaleChanged( double ) ), this, SLOT( userScale() ) );

connect( mLockButton, SIGNAL( toggled( bool ) ), this, SIGNAL( scaleLockChanged( bool ) ) );
connect( mLockButton, SIGNAL( toggled( bool ) ), mScale, SLOT( setDisabled( bool ) ) );
}

QgsStatusBarScaleWidget::~QgsStatusBarScaleWidget()

0 comments on commit 5f50fc0

Please sign in to comment.
You can’t perform that action at this time.