We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1678f13 commit 34df077Copy full SHA for 34df077
editor/src/asset/mod.rs
@@ -154,7 +154,9 @@ impl ContextMenu {
154
if message.destination() == self.delete {
155
Log::verify(std::fs::remove_file(&item.path))
156
} else if message.destination() == self.show_in_explorer {
157
- show_in_explorer(&item.path)
+ if let Ok(canonical_path) = item.path.canonicalize() {
158
+ show_in_explorer(&canonical_path)
159
+ }
160
} else if message.destination() == self.open {
161
open_in_explorer(&item.path)
162
} else if message.destination() == self.copy_path {
0 commit comments