GUI: allow octave up/down on file picker

second try
issue #1895
This commit is contained in:
tildearrow 2024-11-07 03:33:43 -05:00
parent 0d18b4828d
commit 9e093a20c1

View file

@ -3864,7 +3864,7 @@ bool FurnaceGUI::loop() {
} }
#endif #endif
case SDL_KEYDOWN: case SDL_KEYDOWN:
if (!ImGui::GetIO().WantCaptureKeyboard) { if (!ImGui::GetIO().WantCaptureKeyboard || (ImGuiFileDialog::Instance()->IsOpened() && !ImGui::GetIO().WantTextInput)) {
keyDown(ev); keyDown(ev);
} }
insEditMayBeDirty=true; insEditMayBeDirty=true;