Allow search on gvfs drives, fixes #1104
This commit is contained in:
parent
a6f0d898ce
commit
50d721479d
1 changed files with 4 additions and 1 deletions
|
|
@ -1354,7 +1354,10 @@ impl App {
|
||||||
if let Some(tab) = self.tab_model.data_mut::<Tab>(tab) {
|
if let Some(tab) = self.tab_model.data_mut::<Tab>(tab) {
|
||||||
let location_opt = match term_opt {
|
let location_opt = match term_opt {
|
||||||
Some(term) => match &tab.location {
|
Some(term) => match &tab.location {
|
||||||
Location::Path(path) | Location::Search(path, ..) => Some((
|
Location::Desktop(path, ..)
|
||||||
|
| Location::Network(_, _, Some(path))
|
||||||
|
| Location::Path(path)
|
||||||
|
| Location::Search(path, ..) => Some((
|
||||||
Location::Search(
|
Location::Search(
|
||||||
path.to_path_buf(),
|
path.to_path_buf(),
|
||||||
term,
|
term,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue