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(_) => (),