Skip to content

Commit

Permalink
give objectName to plugin menus to allow customization
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Dec 4, 2013
1 parent b184d0e commit 5e5e50a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7430,6 +7430,7 @@ QMenu* QgisApp::getPluginMenu( QString menuName )
}
// It doesn't exist, so create
QMenu *menu = new QMenu( menuName, this );
menu->setObjectName( menuName.normalized(QString::NormalizationForm_KD).remove(QRegExp("[^a-zA-Z]")) );
// Where to put it? - we worked that out above...
mPluginMenu->insertMenu( before, menu );

Expand Down

0 comments on commit 5e5e50a

Please sign in to comment.