From c017663557a9b3d1aebd67da95f401d325f04ed4 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 1 Feb 2024 15:57:01 -0700 Subject: [PATCH] Do not open files in dialog mode --- src/tab.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tab.rs b/src/tab.rs index 9e252ed..eaf87ef 100644 --- a/src/tab.rs +++ b/src/tab.rs @@ -567,7 +567,7 @@ impl Tab { Location::Path(_) => { if item.path.is_dir() { cd = Some(Location::Path(item.path.clone())); - } else { + } else if !self.dialog { let mut command = open_command(&item.path); match command.spawn() { Ok(_) => (),