]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Fix for the bug #145: In main menu types of objects are wrong.
authorrkv <rkv@opencascade.com>
Tue, 3 Dec 2013 13:07:00 +0000 (13:07 +0000)
committerrkv <rkv@opencascade.com>
Tue, 3 Dec 2013 13:07:00 +0000 (13:07 +0000)
src/HYDROGUI/HYDROGUI_Operations.cxx

index 89e8ab2cb9a4c61b43827e02a90ecf8e659aa502..96f78286d9da998e396e6abcac89ae8ceb50e9de 100644 (file)
@@ -190,11 +190,11 @@ void HYDROGUI_Module::createMenus()
   createMenu( AllGeoreferencementId, aNewProfileId, -1, -1 );
 
   int anArtificialMenuId = createMenu( tr( "MEN_DESK_ARTIFICIAL" ), aHydroId, -1 );
-  createMenu( CreateImmersibleZoneId, anArtificialMenuId, -1, -1 );
-  createMenu( CreateStreamId, anArtificialMenuId, -1, -1 );
+  createMenu( CreateChannelId, anArtificialMenuId, -1, -1 );
 
   int aNaturalMenuId = createMenu( tr( "MEN_DESK_NATURAL" ), aHydroId, -1 );
-  createMenu( CreateChannelId, aNaturalMenuId, -1, -1 );
+  createMenu( CreateImmersibleZoneId, aNaturalMenuId, -1, -1 );
+  createMenu( CreateStreamId, aNaturalMenuId, -1, -1 );
 
   int anObstacleMenuId = createMenu( tr( "MEN_DESK_OBSTACLE" ), aHydroId, -1 );
   createMenu( ImportObstacleFromFileId, anObstacleMenuId, -1, -1 );