From 11c5ebc7c3f25ea0f3ae3155f5b4f2bb9140a6c5 Mon Sep 17 00:00:00 2001 From: san Date: Tue, 24 Jul 2012 13:59:38 +0000 Subject: [PATCH] Order parameter changed for "Edit" main menu to be less than for "View" menu. This allows application developers to insert some custom menus between "Edit' and "View". --- src/STD/STD_Application.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index f3c75a91f..ef662927a 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -219,7 +219,8 @@ void STD_Application::createActions() // Create menus int fileMenu = createMenu( tr( "MEN_DESK_FILE" ), -1, MenuFileId, 0 ); - int editMenu = createMenu( tr( "MEN_DESK_EDIT" ), -1, MenuEditId, 10 ); + // Let the application developers insert some menus between Edit and View + int editMenu = createMenu( tr( "MEN_DESK_EDIT" ), -1, MenuEditId, 5 ); int viewMenu = createMenu( tr( "MEN_DESK_VIEW" ), -1, MenuViewId, 10 ); int helpMenu = createMenu( tr( "MEN_DESK_HELP" ), -1, MenuHelpId, 1000 ); -- 2.39.2