mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
LibGUI: FilePicker: Make icon view button initially checked
This commit is contained in:
committed by
Andreas Kling
parent
ef433cb367
commit
1b140d1b5b
@@ -50,6 +50,7 @@ public:
|
||||
Function<void(const ModelIndex&, const DropEvent&)> on_drop;
|
||||
|
||||
enum ViewMode {
|
||||
Invalid,
|
||||
Table,
|
||||
Columns,
|
||||
Icon
|
||||
@@ -107,7 +108,7 @@ private:
|
||||
|
||||
void build_actions();
|
||||
|
||||
ViewMode m_view_mode { Icon };
|
||||
ViewMode m_view_mode { Invalid };
|
||||
int m_model_column { 0 };
|
||||
|
||||
RefPtr<Model> m_model;
|
||||
|
||||
Reference in New Issue
Block a user