GUI: why is this setting in appearance

This commit is contained in:
tildearrow 2023-11-06 21:58:20 -05:00
parent 26648a895d
commit 42d8de671a

View file

@ -2325,6 +2325,15 @@ void FurnaceGUI::drawSettings() {
} }
ImGui::Unindent(); ImGui::Unindent();
// SUBSECTION ASSETS
CONFIG_SUBSECTION("Assets");
bool insTypeMenuB=settings.insTypeMenu;
if (ImGui::Checkbox("Display instrument type menu when adding instrument",&insTypeMenuB)) {
settings.insTypeMenu=insTypeMenuB;
settingsChanged=true;
}
END_SECTION; END_SECTION;
} }
CONFIG_SECTION("Appearance") { CONFIG_SECTION("Appearance") {
@ -2888,12 +2897,6 @@ void FurnaceGUI::drawSettings() {
settingsChanged=true; settingsChanged=true;
} }
bool insTypeMenuB=settings.insTypeMenu;
if (ImGui::Checkbox("Display instrument type menu when adding instrument",&insTypeMenuB)) {
settings.insTypeMenu=insTypeMenuB;
settingsChanged=true;
}
// SUBSECTION MACRO EDITOR // SUBSECTION MACRO EDITOR
CONFIG_SUBSECTION("Macro Editor"); CONFIG_SUBSECTION("Macro Editor");
ImGui::Text("Macro editor layout:"); ImGui::Text("Macro editor layout:");