From b253acf64b8745e7009c13ada8b268b53e79eaec Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 7 Sep 2023 14:26:26 -0500 Subject: [PATCH] GUI: make chip manager visible in basic mode fixes a problem in where "manage chips" would do nothing --- src/gui/gui.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 497aecace..4c3ffece7 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -4322,8 +4322,8 @@ bool FurnaceGUI::loop() { if (ImGui::MenuItem("channels",BIND_FOR(GUI_ACTION_WINDOW_CHANNELS),channelsOpen)) channelsOpen=!channelsOpen; } if (ImGui::MenuItem("pattern manager",BIND_FOR(GUI_ACTION_WINDOW_PAT_MANAGER),patManagerOpen)) patManagerOpen=!patManagerOpen; + if (ImGui::MenuItem("chip manager",BIND_FOR(GUI_ACTION_WINDOW_SYS_MANAGER),sysManagerOpen)) sysManagerOpen=!sysManagerOpen; if (!basicMode) { - if (ImGui::MenuItem("chip manager",BIND_FOR(GUI_ACTION_WINDOW_SYS_MANAGER),sysManagerOpen)) sysManagerOpen=!sysManagerOpen; if (ImGui::MenuItem("compatibility flags",BIND_FOR(GUI_ACTION_WINDOW_COMPAT_FLAGS),compatFlagsOpen)) compatFlagsOpen=!compatFlagsOpen; } if (ImGui::MenuItem("song comments",BIND_FOR(GUI_ACTION_WINDOW_NOTES),notesOpen)) notesOpen=!notesOpen; @@ -4563,9 +4563,7 @@ bool FurnaceGUI::loop() { MEASURE(channels,drawChannels()); } MEASURE(patManager,drawPatManager()); - if (!basicMode) { - MEASURE(sysManager,drawSysManager()); - } + MEASURE(sysManager,drawSysManager()); MEASURE(clock,drawClock()); MEASURE(regView,drawRegView()); MEASURE(log,drawLog());