From 247717431d4f92ef15284a15c5e814d538d1a452 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 28 Mar 2021 11:25:40 +0200 Subject: LibGUI: Make GUI::Widget::event() protected --- Userland/Applications/Spreadsheet/SpreadsheetView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Applications/Spreadsheet/SpreadsheetView.cpp') diff --git a/Userland/Applications/Spreadsheet/SpreadsheetView.cpp b/Userland/Applications/Spreadsheet/SpreadsheetView.cpp index 1f3bf0ae9a..377a30b60a 100644 --- a/Userland/Applications/Spreadsheet/SpreadsheetView.cpp +++ b/Userland/Applications/Spreadsheet/SpreadsheetView.cpp @@ -204,7 +204,7 @@ SpreadsheetView::SpreadsheetView(Sheet& sheet) auto delegate = make(*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; }; -- cgit v1.2.3