summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--editor/imgui-editors.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/imgui-editors.cpp b/editor/imgui-editors.cpp
index a2ddbf5b..b447984d 100644
--- a/editor/imgui-editors.cpp
+++ b/editor/imgui-editors.cpp
@@ -268,7 +268,8 @@ void app::draw_editor_pane(float main_menu_height)
float width = 425 * dpi.x();
ImGui::SetNextWindowPos({0, main_menu_height+style.WindowPadding.y});
- ImGui::SetNextFrameWantCaptureKeyboard(false);
+ if (_editor->mode() != editor_mode::tests)
+ ImGui::SetNextFrameWantCaptureKeyboard(false);
ImGui::SetNextWindowSize({width, window_size.y()-main_menu_height - style.WindowPadding.y});
if (auto b = begin_window({}, nullptr, igwf))
{