1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

LibGUI: Make GUI::Widget::event() protected

This commit is contained in:
Andreas Kling 2021-03-28 11:25:40 +02:00
parent d0072aef8b
commit 247717431d
2 changed files with 6 additions and 6 deletions

View file

@ -204,7 +204,7 @@ SpreadsheetView::SpreadsheetView(Sheet& sheet)
auto delegate = make<EditingDelegate>(*m_sheet);
delegate->on_cursor_key_pressed = [this](auto& event) {
m_table_view->stop_editing();
m_table_view->event(event);
m_table_view->dispatch_event(event);
};
return delegate;
};