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

Spreadsheet: Don't advertise the SpreadsheetModel as sortable

This commit is contained in:
Andreas Kling 2020-08-27 10:38:14 +02:00
parent 55f7ddfb8c
commit d876c49ec7

View file

@ -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)