Skip to content

Commit

Permalink
set icon of feature actions in the action menu
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Sep 29, 2014
1 parent 99f0dac commit 1b51508
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsactionmenu.cpp
Expand Up @@ -125,6 +125,7 @@ void QgsActionMenu::reloadActions()

QAction* action = new QAction( qaction.icon(), qaction.name(), this );
action->setData( QVariant::fromValue<ActionData>( ActionData( idx, mFeatureId, mLayer ) ) );
action->setIcon( qaction.icon() );

// Only enable items on supported platforms
if ( !qaction.runable() )
Expand Down

0 comments on commit 1b51508

Please sign in to comment.