]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Order parameter changed for "Edit" main menu to be less than for "View" menu. This...
authorsan <san@opencascade.com>
Tue, 24 Jul 2012 13:59:38 +0000 (13:59 +0000)
committersan <san@opencascade.com>
Tue, 24 Jul 2012 13:59:38 +0000 (13:59 +0000)
src/STD/STD_Application.cxx

index f3c75a91f098fe5181bdb96ffb9486d4e9a0435f..ef662927adc4f17105649fba3faa821eccb5e7cd 100755 (executable)
@@ -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 );