Skip to content
Permalink
Browse files

Fix tooltip for scale from canvas button

  • Loading branch information
nyalldawson committed Mar 17, 2015
1 parent a4d17c0 commit c3dfcf983b3a49de46dbe353d13a2d8d3a175815
Showing with 1 addition and 6 deletions.
  1. +1 −0 src/gui/qgsscalewidget.cpp
  2. +0 −6 src/ui/qgsvectorlayerpropertiesbase.ui
@@ -32,6 +32,7 @@ QgsScaleWidget::QgsScaleWidget( QWidget *parent )
layout->addWidget( mScaleComboBox );

mCurrentScaleButton = new QToolButton( this );
mCurrentScaleButton->setToolTip( tr("Set to current canvas scale") );
mCurrentScaleButton->setIcon( QgsApplication::getThemeIcon( "/mActionMapIdentification.svg" ) );
layout->addWidget( mCurrentScaleButton );
mCurrentScaleButton->hide();
@@ -488,12 +488,6 @@
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QgsScaleRangeWidget" name="mScaleRangeWidget" native="true">
<property name="toolTip">
<string>A widget to define the scale visibility</string>
</property>
<property name="whatsThis">
<string>A widget to define the scale visibility.</string>
</property>
</widget>
</item>
</layout>

0 comments on commit c3dfcf9

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