From 5ba7a1fdb57c0af205bf7c1347d765823260dfe9 Mon Sep 17 00:00:00 2001 From: rkv Date: Tue, 3 Dec 2013 13:07:00 +0000 Subject: [PATCH] Fix for the bug #145: In main menu types of objects are wrong. --- src/HYDROGUI/HYDROGUI_Operations.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.39.2