Skip to content
Permalink
Browse files
[ui] sort items in the view > panels sub-menu
  • Loading branch information
nirvn committed Feb 15, 2018
1 parent 8697c79 commit e0b1d37
Showing 1 changed file with 4 additions and 0 deletions.
@@ -1258,6 +1258,10 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh

setupDuplicateFeaturesAction();

QList<QAction *> actions = mPanelMenu->actions();
std::sort( actions.begin(), actions.end(), cmpByText_ );
mPanelMenu->insertActions( nullptr, actions );

// update windows
qApp->processEvents();

0 comments on commit e0b1d37

Please sign in to comment.