From a9ee6e090ecb162ac1db1c08235d0caa601c8f5f Mon Sep 17 00:00:00 2001 From: Hominem te esse Date: Mon, 26 Mar 2012 22:40:28 +0200 Subject: [PATCH] Suggestion from "mgh". Only display the "HDLServer" menu when delete/rename operation are enabled (that make sense, as HDL server is used for this kind of operations) --- src/menusys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menusys.c b/src/menusys.c index 42fa49c..acefc30 100644 --- a/src/menusys.c +++ b/src/menusys.c @@ -99,7 +99,7 @@ static void menuInitMainMenu() { submenuAppendItem(&mainMenu, -1, NULL, MENU_GFX_SETTINGS, _STR_GFX_SETTINGS); submenuAppendItem(&mainMenu, -1, NULL, MENU_IP_CONFIG, _STR_IPCONFIG); submenuAppendItem(&mainMenu, -1, NULL, MENU_SAVE_CHANGES, _STR_SAVE_CHANGES); - if (gHDDStartMode) // enabled at all? + if (gHDDStartMode && gEnableDandR) // enabled at all? submenuAppendItem(&mainMenu, -1, NULL, MENU_START_HDL, _STR_STARTHDL); #endif submenuAppendItem(&mainMenu, -1, NULL, MENU_ABOUT, _STR_ABOUT); -- 2.11.4.GIT