summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/SpreadsheetView.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-28 11:25:40 +0200
committerAndreas Kling <kling@serenityos.org>2021-03-28 11:25:40 +0200
commit247717431d4f92ef15284a15c5e814d538d1a452 (patch)
treea032f74f2f607be4fbe30c39f2bc29d287c1266b /Userland/Applications/Spreadsheet/SpreadsheetView.cpp
parentd0072aef8b17650f8c6ec3bdb96e94fdb6dfcbca (diff)
downloadserenity-247717431d4f92ef15284a15c5e814d538d1a452.zip
LibGUI: Make GUI::Widget::event() protected
Diffstat (limited to 'Userland/Applications/Spreadsheet/SpreadsheetView.cpp')
-rw-r--r--Userland/Applications/Spreadsheet/SpreadsheetView.cpp2
1 files changed, 1 insertions, 1 deletions
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<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;
};