mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
fixed show-in-explorer functionality
This commit is contained in:
@@ -154,7 +154,9 @@ impl ContextMenu {
|
||||
if message.destination() == self.delete {
|
||||
Log::verify(std::fs::remove_file(&item.path))
|
||||
} else if message.destination() == self.show_in_explorer {
|
||||
show_in_explorer(&item.path)
|
||||
if let Ok(canonical_path) = item.path.canonicalize() {
|
||||
show_in_explorer(&canonical_path)
|
||||
}
|
||||
} else if message.destination() == self.open {
|
||||
open_in_explorer(&item.path)
|
||||
} else if message.destination() == self.copy_path {
|
||||
|
||||
Reference in New Issue
Block a user