Preserve search time when normalizing, fixes #1062
This commit is contained in:
parent
e04f17b97d
commit
15e1337e63
1 changed files with 2 additions and 2 deletions
|
|
@ -1425,8 +1425,8 @@ impl Location {
|
||||||
Self::Desktop(path, display.clone(), *desktop_config)
|
Self::Desktop(path, display.clone(), *desktop_config)
|
||||||
}
|
}
|
||||||
Self::Path(..) => Self::Path(path),
|
Self::Path(..) => Self::Path(path),
|
||||||
Self::Search(_, term, show_hidden, _) => {
|
Self::Search(_, term, show_hidden, time) => {
|
||||||
Self::Search(path, term.clone(), *show_hidden, Instant::now())
|
Self::Search(path, term.clone(), *show_hidden, *time)
|
||||||
}
|
}
|
||||||
other => other.clone(),
|
other => other.clone(),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue