Skip to content

Commit 1b51508

Browse files
committed
set icon of feature actions in the action menu
1 parent 99f0dac commit 1b51508

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gui/qgsactionmenu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ void QgsActionMenu::reloadActions()
125125

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

129130
// Only enable items on supported platforms
130131
if ( !qaction.runable() )

0 commit comments

Comments
 (0)