help-overlay: Update keyboard shortcuts

Using actions no longer works since they are not global anymore. Also
add "Open with" to the list.

Closes #254
This commit is contained in:
Sophie Herold 2024-07-31 01:32:51 +02:00
parent f75e64f73b
commit 9063f4d2ba
2 changed files with 38 additions and 26 deletions

View file

@ -397,6 +397,7 @@ impl Action {
Action::CopyImage => klass.install_action(&action, None, move |win, _, _| {
win.copy_image();
}),
Action::SetBackground => {
klass.install_action_async(&action, None, |win, _, _| async move {
win.set_background().await;