1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 15:38:12 +00:00

LibGUI: Don't make views sort by column 0 by default

If you want to sort by some column, you can tell the view which one.
This commit is contained in:
Andreas Kling 2020-08-27 10:37:31 +02:00
parent a5a3e5a178
commit 55f7ddfb8c

View file

@ -117,7 +117,7 @@ protected:
ModelIndex m_hovered_index;
ModelIndex m_last_valid_hovered_index;
int m_key_column { 0 };
int m_key_column { -1 };
SortOrder m_sort_order;
private: