widgets wip - widgets mechanism + label widget
[fnpeditor.git] / modules / rng / rng.js
index a3e746c..59652a7 100644 (file)
@@ -205,6 +205,11 @@ return function(sandbox) {
             commands.updateCurrentNodeElement(nodeElement);
         },
         
             commands.updateCurrentNodeElement(nodeElement);
         },
         
+        currentNodeElementChanged: function(nodeElement) {
+            commands.updateCurrentNodeElement(nodeElement);
+            dirty.documentCanvas = true;
+        },
+
         contentChanged: function() {
             dirty.documentCanvas = true;
         },
         contentChanged: function() {
             dirty.documentCanvas = true;
         },