From 610f1a5aab387794c430ab313de303697e7035d4 Mon Sep 17 00:00:00 2001 From: Names4Noobs <62076851+Names4Noobs@users.noreply.github.com> Date: Mon, 21 Nov 2022 20:26:53 -0500 Subject: [PATCH] 3DFileViewer: Propagate key events to the window Before this, shortcuts would not work due to key events not being propagated to the window. --- Userland/Applications/3DFileViewer/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Applications/3DFileViewer/main.cpp b/Userland/Applications/3DFileViewer/main.cpp index 4e5b48494f5..6baa1cf7eff 100644 --- a/Userland/Applications/3DFileViewer/main.cpp +++ b/Userland/Applications/3DFileViewer/main.cpp @@ -198,6 +198,8 @@ void GLContextWidget::keydown_event(GUI::KeyEvent& event) window()->set_fullscreen(false); return; } + + event.ignore(); } void GLContextWidget::timer_event(Core::TimerEvent&)