diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs b/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs index 6894f7111..eb7e56adb 100644 --- a/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs +++ b/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs @@ -22,12 +22,11 @@ namespace Tango.Integration.Storage { get { return System.IO.Path.GetFileName(Path); } } - public String Parent { get { - if (Path == "/" || Path == null) return null; + if (Path == "/") return null; String root = System.IO.Path.GetPathRoot(Path); var parent = Directory.GetParent(Path); |
