mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
LibGUI+Userland: Take ByteString in set_most_recently_open_file()
This commit is contained in:
parent
d30f13a88d
commit
9657f4cabb
11 changed files with 24 additions and 24 deletions
|
@ -267,7 +267,7 @@ ErrorOr<void> ViewWidget::try_open_file(String const& path, Core::File& file)
|
|||
}
|
||||
|
||||
set_path(path);
|
||||
GUI::Application::the()->set_most_recently_open_file(path);
|
||||
GUI::Application::the()->set_most_recently_open_file(path.to_byte_string());
|
||||
|
||||
if (on_image_change)
|
||||
on_image_change(m_image);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue