1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 10:01:13 +09:00

LibGUI: Model-less views should not swallow key events

At least pass them up to GUI::Widget so they can be handled there.
This commit is contained in:
Andreas Kling 2020-10-28 21:21:50 +01:00
parent b5bd05b717
commit 80e12999c4
Notes: sideshowbarker 2024-07-19 01:40:52 +09:00
3 changed files with 3 additions and 3 deletions

View file

@ -170,7 +170,7 @@ void TableView::paint_event(PaintEvent& event)
void TableView::keydown_event(KeyEvent& event)
{
if (!model())
return;
return AbstractTableView::keydown_event(event);
AbstractTableView::keydown_event(event);