mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 04:24:59 +00: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:
parent
b5bd05b717
commit
80e12999c4
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue