From d876c49ec7a45885db1d12bc3d3c71e4916fb5b3 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 27 Aug 2020 10:38:14 +0200 Subject: [PATCH] Spreadsheet: Don't advertise the SpreadsheetModel as sortable --- Applications/Spreadsheet/SpreadsheetModel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Applications/Spreadsheet/SpreadsheetModel.h b/Applications/Spreadsheet/SpreadsheetModel.h index 4ef028c417..740d2cef00 100644 --- a/Applications/Spreadsheet/SpreadsheetModel.h +++ b/Applications/Spreadsheet/SpreadsheetModel.h @@ -43,6 +43,7 @@ public: virtual bool is_editable(const GUI::ModelIndex&) const override; virtual void set_data(const GUI::ModelIndex&, const GUI::Variant&) override; virtual void update() override; + virtual bool is_column_sortable(int) const override { return false; } private: explicit SheetModel(Sheet& sheet)