summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/SpreadsheetView.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Spreadsheet/SpreadsheetView.h')
-rw-r--r--Userland/Applications/Spreadsheet/SpreadsheetView.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Applications/Spreadsheet/SpreadsheetView.h b/Userland/Applications/Spreadsheet/SpreadsheetView.h
index e372d68385..67f2dc4f3c 100644
--- a/Userland/Applications/Spreadsheet/SpreadsheetView.h
+++ b/Userland/Applications/Spreadsheet/SpreadsheetView.h
@@ -103,6 +103,8 @@ public:
void move_cursor(GUI::AbstractView::CursorMovement);
+ NonnullRefPtr<SheetModel> model() { return m_sheet_model; };
+
private:
virtual void hide_event(GUI::HideEvent&) override;
virtual void show_event(GUI::ShowEvent&) override;