summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/GModel.h')
-rw-r--r--Libraries/LibGUI/GModel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GModel.h b/Libraries/LibGUI/GModel.h
index 59f0028021..0aee640eac 100644
--- a/Libraries/LibGUI/GModel.h
+++ b/Libraries/LibGUI/GModel.h
@@ -44,8 +44,9 @@ public:
struct ColumnMetadata {
int preferred_width { 0 };
TextAlignment text_alignment { TextAlignment::CenterLeft };
- bool sortable { true };
const Font* font { nullptr };
+ enum class Sortable { False, True };
+ Sortable sortable { Sortable::True };
};
enum class Role {