LibGUI: FilePicker: Populate location textbox
This commit is contained in:
parent
6a453370ad
commit
8e01356b2f
Notes:
sideshowbarker
2024-07-19 07:03:16 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/8e01356b2f1 Pull-request: https://github.com/SerenityOS/serenity/pull/2036 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/zlotny
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ FilePicker::FilePicker(Mode mode, const StringView& file_name, const StringView&
|
|||
auto& location_textbox = upper_container.add<TextBox>();
|
||||
location_textbox.set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
location_textbox.set_preferred_size(0, 20);
|
||||
location_textbox.set_text(path);
|
||||
|
||||
m_view = vertical_container.add<MultiView>();
|
||||
m_view->set_model(SortingProxyModel::create(*m_model));
|
||||
|
|
Loading…
Add table
Reference in a new issue