Skip to content
Permalink
Browse files

Merge pull request #3063 from DelazJ/fields

use same icons as in other dialogs for this task
  • Loading branch information
m-kuhn committed May 11, 2016
2 parents 5177d93 + cf45742 commit 86ccaff49a46afa8ea12d4cb9aeb670755bab8b0
@@ -311,9 +311,9 @@ def __init__(self, parent=None):
self.setupUi(self)

self.addButton.setIcon(
QIcon(':/images/themes/default/mActionAdd.svg'))
QIcon(':/images/themes/default/mActionNewAttribute.png'))
self.deleteButton.setIcon(
QIcon(':/images/themes/default/mActionDeleteSelected.svg'))
QIcon(':/images/themes/default/mActionDeleteAttribute.svg'))
self.upButton.setIcon(
QIcon(':/images/themes/default/mActionArrowUp.png'))
self.downButton.setIcon(
@@ -56,7 +56,7 @@ QgsRelationEditorWidget::QgsRelationEditorWidget( QWidget* parent )
buttonLayout->addWidget( mSaveEditsButton );
// add feature
mAddFeatureButton = new QToolButton( this );
mAddFeatureButton->setIcon( QgsApplication::getThemeIcon( "/mActionAdd.svg" ) );
mAddFeatureButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewTableRow.png" ) );
mAddFeatureButton->setText( tr( "Add feature" ) );
mAddFeatureButton->setObjectName( "mAddFeatureButton" );
buttonLayout->addWidget( mAddFeatureButton );

0 comments on commit 86ccaff

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