mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:37:44 +00:00
3DFileViewer: Propagate key events to the window
Before this, shortcuts would not work due to key events not being propagated to the window.
This commit is contained in:
parent
0c577b4b3b
commit
610f1a5aab
1 changed files with 2 additions and 0 deletions
|
@ -198,6 +198,8 @@ void GLContextWidget::keydown_event(GUI::KeyEvent& event)
|
|||
window()->set_fullscreen(false);
|
||||
return;
|
||||
}
|
||||
|
||||
event.ignore();
|
||||
}
|
||||
|
||||
void GLContextWidget::timer_event(Core::TimerEvent&)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue