Do not open files in dialog mode
This commit is contained in:
parent
d271159c07
commit
c017663557
1 changed files with 1 additions and 1 deletions
|
|
@ -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(_) => (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue