mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:57:44 +00:00
LibGUI: Give recent-file actions a nicer status tip
"Open /path/to/file" instead of just "/path/to/file".
This commit is contained in:
parent
c374541711
commit
506f9484e3
1 changed files with 1 additions and 0 deletions
|
@ -360,6 +360,7 @@ void Application::update_recent_file_actions()
|
|||
action->set_visible(true);
|
||||
action->set_enabled(true);
|
||||
action->set_text(path);
|
||||
action->set_status_tip(String::formatted("Open {}", path).release_value_but_fixme_should_propagate_errors());
|
||||
++number_of_recently_open_files;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue