summaryrefslogtreecommitdiffstats
path: root/src/key_command/impl_appexecute.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/key_command/impl_appexecute.rs')
-rw-r--r--src/key_command/impl_appexecute.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/key_command/impl_appexecute.rs b/src/key_command/impl_appexecute.rs
index bb2e752..8996a7c 100644
--- a/src/key_command/impl_appexecute.rs
+++ b/src/key_command/impl_appexecute.rs
@@ -64,9 +64,7 @@ impl AppExecute for Command {
Self::OpenFileWith(None) => open_file::open_with_interactive(context, backend),
Self::OpenFileWith(Some(i)) => open_file::open_with_index(context, backend, *i),
- Self::Quit => quit::quit(context),
- Self::QuitToCurrentDirectory => quit::quit_to_current_directory(context),
- Self::ForceQuit => quit::force_quit(context),
+ Self::Quit(action) => quit::quit_with_action(context, *action),
Self::ReloadDirList => reload::reload_dirlist(context),
Self::RenameFile(p) => rename_file::rename_file(context, p.as_path()),