From 9e093a20c1619d8eb1949fffffaeb51eb05c42d3 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 7 Nov 2024 03:33:43 -0500 Subject: [PATCH] GUI: allow octave up/down on file picker second try issue #1895 --- src/gui/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index aa611e882..966f13df6 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -3864,7 +3864,7 @@ bool FurnaceGUI::loop() { } #endif case SDL_KEYDOWN: - if (!ImGui::GetIO().WantCaptureKeyboard) { + if (!ImGui::GetIO().WantCaptureKeyboard || (ImGuiFileDialog::Instance()->IsOpened() && !ImGui::GetIO().WantTextInput)) { keyDown(ev); } insEditMayBeDirty=true;