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 e0b1d37caceb1609df18d72e3ecd78ad8b2a8135
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgisapp.cpp
@@ -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.
You can’t perform that action at this time.