libede:FileSystemBox: added updating of path in supplied PathBox locationBox
authorRejean Loyer <rejean.loyer@gmail.com>
Sat, 10 Sep 2011 07:29:20 +0000 (03:29 -0400)
committerRejean Loyer <rejean.loyer@gmail.com>
Sat, 10 Sep 2011 07:29:20 +0000 (03:29 -0400)
libede/src/FileSystemBox.ec

index 8a4fad1..b880c75 100644 (file)
@@ -495,6 +495,8 @@ public:
          delete path;
          if(value && value[0])
             path = CopyString(value);
+         if(locationBox)
+            locationBox.path = value;
          if(created)
             Load();
       }
@@ -535,6 +537,8 @@ public:
       }
    }
 
+   PathBox locationBox;
+
    void Select(FileSystemNode node)
    {
       if(node.row)