summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-05-01 01:46:34 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-02 14:12:36 +0200
commit8e01356b2f16393932f62354b1564e6676cbe791 (patch)
tree4f58c885b35fcbe784e8aa5f3cadd550a619cc49 /Libraries
parent6a453370ad5e66f87be9809d8fdbfc6ff4ad2c75 (diff)
downloadserenity-8e01356b2f16393932f62354b1564e6676cbe791.zip
LibGUI: FilePicker: Populate location textbox
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGUI/FilePicker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/FilePicker.cpp b/Libraries/LibGUI/FilePicker.cpp
index 27508ab107..7d05836216 100644
--- a/Libraries/LibGUI/FilePicker.cpp
+++ b/Libraries/LibGUI/FilePicker.cpp
@@ -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));