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

LibGUI: Use MultiView in FilePicker

This allows the user to switch between different view modes.

Fixes #1283.
This commit is contained in:
Andreas Kling 2020-02-24 20:50:21 +01:00
parent 1b2b35cc40
commit a5d7ea24e9
2 changed files with 18 additions and 5 deletions

View file

@ -28,7 +28,6 @@
#include <AK/Optional.h>
#include <LibCore/UserInfo.h>
#include <LibGUI/Dialog.h>
#include <LibGUI/TableView.h>
namespace GUI {
@ -67,7 +66,7 @@ private:
}
}
RefPtr<TableView> m_view;
RefPtr<MultiView> m_view;
NonnullRefPtr<FileSystemModel> m_model;
FileSystemPath m_selected_file;