aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Explorer/ExplorerControl.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-11-25 11:24:33 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-11-25 11:24:33 +0200
commitf779e2b6f0bb1dedc7644c64651b59e31ce62c00 (patch)
tree8071e764f45d08225b0c8ab3d50b0fb02bdb05f9 /Software/Visual_Studio/Tango.Explorer/ExplorerControl.cs
parentdff24e56a8906b8c9b355cf407f25f4b793beafe (diff)
downloadTango-f779e2b6f0bb1dedc7644c64651b59e31ce62c00.tar.gz
Tango-f779e2b6f0bb1dedc7644c64651b59e31ce62c00.zip
Some changes in PPC.
Diffstat (limited to 'Software/Visual_Studio/Tango.Explorer/ExplorerControl.cs')
-rw-r--r--Software/Visual_Studio/Tango.Explorer/ExplorerControl.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Explorer/ExplorerControl.cs b/Software/Visual_Studio/Tango.Explorer/ExplorerControl.cs
index 197380475..d84138e0f 100644
--- a/Software/Visual_Studio/Tango.Explorer/ExplorerControl.cs
+++ b/Software/Visual_Studio/Tango.Explorer/ExplorerControl.cs
@@ -77,7 +77,11 @@ namespace Tango.Explorer
_changing_current_path = true;
- if (Directory.Exists(CurrentPath))
+ if (CurrentPath == null)
+ {
+ CurrentFolder = null;
+ }
+ else if (Directory.Exists(CurrentPath))
{
CurrentFolder = ExplorerFolderItem.LoadFromPath(CurrentPath);
}