From b156336216a7f55c04dcc67cbf3c1cfd39bec2bc Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 11 Aug 2022 14:27:33 -0500 Subject: [PATCH] GUI: fix Game Boy ins edit crashes --- src/gui/insEdit.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/insEdit.cpp b/src/gui/insEdit.cpp index 55094252f..1c29c5d9b 100644 --- a/src/gui/insEdit.cpp +++ b/src/gui/insEdit.cpp @@ -3173,10 +3173,9 @@ void FurnaceGUI::drawInsEdit() { ins->gb.hwSeqLen++; } } - - ImGui::EndChild(); - ImGui::EndDisabled(); } + ImGui::EndChild(); + ImGui::EndDisabled(); ImGui::EndTabItem(); } if (ins->type==DIV_INS_C64) if (ImGui::BeginTabItem("C64")) {