mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 00:48:11 +00:00
GFilePicker: Return paths as FileSystemPath rather than String
This commit is contained in:
parent
9b86eb9fad
commit
6ac8aab941
3 changed files with 5 additions and 4 deletions
|
@ -125,7 +125,7 @@ GFilePicker::GFilePicker(const String& path, CObject* parent)
|
|||
ok_button->set_text("OK");
|
||||
ok_button->on_click = [this, filename_textbox] (auto&) {
|
||||
FileSystemPath path(String::format("%s/%s", m_model->path().characters(), filename_textbox->text().characters()));
|
||||
m_selected_file = path.string();
|
||||
m_selected_file = path;
|
||||
done(ExecOK);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue