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(_) => {
|
Location::Path(_) => {
|
||||||
if item.path.is_dir() {
|
if item.path.is_dir() {
|
||||||
cd = Some(Location::Path(item.path.clone()));
|
cd = Some(Location::Path(item.path.clone()));
|
||||||
} else {
|
} else if !self.dialog {
|
||||||
let mut command = open_command(&item.path);
|
let mut command = open_command(&item.path);
|
||||||
match command.spawn() {
|
match command.spawn() {
|
||||||
Ok(_) => (),
|
Ok(_) => (),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue