diff options
Diffstat (limited to 'Libraries/LibGUI/MultiView.h')
-rw-r--r-- | Libraries/LibGUI/MultiView.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Libraries/LibGUI/MultiView.h b/Libraries/LibGUI/MultiView.h index 53d8d0a382..d7dbe6ea49 100644 --- a/Libraries/LibGUI/MultiView.h +++ b/Libraries/LibGUI/MultiView.h @@ -103,10 +103,14 @@ public: Action& view_as_columns_action() { return *m_view_as_columns_action; } #endif + bool is_multi_select() const { return m_multi_select; } + void set_multi_select(bool); + private: MultiView(); void build_actions(); + void apply_multi_select(); ViewMode m_view_mode { Invalid }; int m_model_column { 0 }; @@ -126,6 +130,8 @@ private: #endif OwnPtr<ActionGroup> m_view_type_action_group; + + bool m_multi_select { true }; }; } |