mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
[ui] sort items in the view > panels sub-menu
This commit is contained in:
parent
8697c79993
commit
e0b1d37cac
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user