ide:NodeProperties: fixed changing path didn't update the node.
authorRejean Loyer <rejean.loyer@gmail.com>
Sat, 11 Jun 2011 02:39:56 +0000 (22:39 -0400)
committerRejean Loyer <rejean.loyer@gmail.com>
Sat, 11 Jun 2011 02:39:56 +0000 (22:39 -0400)
ide/src/dialogs/NodeProperties.ec

index a3154f1..e4ec37d 100644 (file)
@@ -20,6 +20,7 @@ class NodeProperties : Window
    {
       this, textHorzScroll = true, position = { 10, 80 }, size = { 260 }, text = "Path";
       anchor = { left = 10, top = 80, right = 10 };
+      NotifyModified = PathNotifyModified;
    };
    
    Label absolutePathLabel { parent = this, position = { 10, 110 }, labeledWindow = absolutePath };
@@ -221,8 +222,6 @@ class NodeProperties : Window
       bool b;
       name.OnActivate(false, null, &b, false);
       path.OnActivate(false, null, &b, false);
-      if(absolutePath.visible)
-         absolutePath.OnActivate(false, null, &b, false);
    }
 
    void UpdateFileName()