Skip to content

Commit 3dcb0c4

Browse files
SrNetoChannyalldawson
authored andcommittedFeb 20, 2017
Adds tooltips to the add/remove variable buttons
1 parent a0f655a commit 3dcb0c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/gui/qgsvariableeditorwidget.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,12 @@ QgsVariableEditorWidget::QgsVariableEditorWidget( QWidget *parent )
5252
mAddButton = new QPushButton();
5353
mAddButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/symbologyAdd.svg" ) ) );
5454
mAddButton->setEnabled( false );
55+
mAddButton->setToolTip( tr( "Add variable" ) );
5556
horizontalLayout->addWidget( mAddButton );
5657
mRemoveButton = new QPushButton();
5758
mRemoveButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/symbologyRemove.svg" ) ) );
5859
mRemoveButton->setEnabled( false );
60+
mRemoveButton->setToolTip( tr( "Remove variable" ) );
5961
horizontalLayout->addWidget( mRemoveButton );
6062
verticalLayout->addLayout( horizontalLayout );
6163
connect( mRemoveButton, SIGNAL( clicked() ), this, SLOT( on_mRemoveButton_clicked() ) );

0 commit comments

Comments
 (0)
Please sign in to comment.