mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
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: 8e01356b2f
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
Add a link
Reference in a new issue