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:
parent
ef433cb367
commit
1b140d1b5b
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue