Add Escape key shortcut and subfolder prompt for folder drops
Escape now goes to previous wizard step (cancel/go back). When a folder with subfolders is dropped on the images step, an alert dialog asks whether to include subfolder images. The choice is remembered for the rest of the session.
This commit is contained in:
@@ -119,7 +119,7 @@ pub fn build_app() -> adw::Application {
|
||||
|
||||
fn setup_shortcuts(app: &adw::Application) {
|
||||
app.set_accels_for_action("win.next-step", &["<Alt>Right"]);
|
||||
app.set_accels_for_action("win.prev-step", &["<Alt>Left"]);
|
||||
app.set_accels_for_action("win.prev-step", &["<Alt>Left", "Escape"]);
|
||||
app.set_accels_for_action("win.process", &["<Control>Return"]);
|
||||
for i in 1..=9 {
|
||||
app.set_accels_for_action(
|
||||
|
||||
Reference in New Issue
Block a user