File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ QgsScaleWidget::QgsScaleWidget( QWidget *parent )
32
32
layout->addWidget ( mScaleComboBox );
33
33
34
34
mCurrentScaleButton = new QToolButton ( this );
35
+ mCurrentScaleButton ->setToolTip ( tr (" Set to current canvas scale" ) );
35
36
mCurrentScaleButton ->setIcon ( QgsApplication::getThemeIcon ( " /mActionMapIdentification.svg" ) );
36
37
layout->addWidget ( mCurrentScaleButton );
37
38
mCurrentScaleButton ->hide ();
Original file line number Diff line number Diff line change 488
488
<layout class =" QGridLayout" name =" gridLayout_6" >
489
489
<item row =" 0" column =" 0" >
490
490
<widget class =" QgsScaleRangeWidget" name =" mScaleRangeWidget" native =" true" >
491
- <property name =" toolTip" >
492
- <string >A widget to define the scale visibility</string >
493
- </property >
494
- <property name =" whatsThis" >
495
- <string >A widget to define the scale visibility.</string >
496
- </property >
497
491
</widget >
498
492
</item >
499
493
</layout >
You can’t perform that action at this time.
0 commit comments