From: rkv Date: Tue, 3 Dec 2013 13:07:00 +0000 (+0000) Subject: Fix for the bug #145: In main menu types of objects are wrong. X-Git-Tag: BR_hydro_v_0_4~79 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5ba7a1fdb57c0af205bf7c1347d765823260dfe9;p=modules%2Fhydro.git Fix for the bug #145: In main menu types of objects are wrong. --- diff --git a/src/HYDROGUI/HYDROGUI_Operations.cxx b/src/HYDROGUI/HYDROGUI_Operations.cxx index 89e8ab2c..96f78286 100644 --- a/src/HYDROGUI/HYDROGUI_Operations.cxx +++ b/src/HYDROGUI/HYDROGUI_Operations.cxx @@ -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 );