Skip to content
Permalink
Browse files

Adds tooltips to the add/remove variable buttons

  • Loading branch information
SrNetoChan authored and nyalldawson committed Feb 20, 2017
1 parent a0f655a commit 3dcb0c44c09c4cc0afaf2c5eb246f5c322248b68
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/qgsvariableeditorwidget.cpp
@@ -52,10 +52,12 @@ QgsVariableEditorWidget::QgsVariableEditorWidget( QWidget *parent )
mAddButton = new QPushButton();
mAddButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/symbologyAdd.svg" ) ) );
mAddButton->setEnabled( false );
mAddButton->setToolTip( tr( "Add variable" ) );
horizontalLayout->addWidget( mAddButton );
mRemoveButton = new QPushButton();
mRemoveButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/symbologyRemove.svg" ) ) );
mRemoveButton->setEnabled( false );
mRemoveButton->setToolTip( tr( "Remove variable" ) );
horizontalLayout->addWidget( mRemoveButton );
verticalLayout->addLayout( horizontalLayout );
connect( mRemoveButton, SIGNAL( clicked() ), this, SLOT( on_mRemoveButton_clicked() ) );

0 comments on commit 3dcb0c4

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