Skip to content

Commit

Permalink
Fix tooltip for scale from canvas button
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 17, 2015
1 parent a4d17c0 commit c3dfcf9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsscalewidget.cpp
Expand Up @@ -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();
Expand Down
6 changes: 0 additions & 6 deletions src/ui/qgsvectorlayerpropertiesbase.ui
Expand Up @@ -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>
Expand Down

0 comments on commit c3dfcf9

Please sign in to comment.