1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00

LibGUI: FilePicker: Make icon view button initially checked

This commit is contained in:
Ben Wiederhake 2020-05-01 02:25:50 +02:00 committed by Andreas Kling
parent ef433cb367
commit 1b140d1b5b
2 changed files with 6 additions and 2 deletions

View file

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