Skip to content
Permalink
Browse files

give objectName to plugin menus to allow customization

  • Loading branch information
blazek committed Dec 4, 2013
1 parent b184d0e commit 5e5e50a14a684f854808ce2ecd1de5322fdc382b
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgisapp.cpp
@@ -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 );

0 comments on commit 5e5e50a

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