src/Builder4/PopoverProperty.bjs
authorAlan <alan@roojs.com>
Thu, 9 Jun 2022 06:03:46 +0000 (14:03 +0800)
committerAlan <alan@roojs.com>
Thu, 9 Jun 2022 06:03:46 +0000 (14:03 +0800)
src/Builder4/PopoverProperty.vala

src/Builder4/PopoverProperty.bjs
src/Builder4/PopoverProperty.vala

index d45adf6..6a552fa 100644 (file)
            "\t// since we can't add listeners?!?!?",
            "\t// only check props.",
            "\t// check if property already exists in node.\t",
-           "\tif (this.node.props.has_key(prop.to_index_key())) {",
+           "\tif (_this.node.props.has_key(prop.to_index_key())) {",
            "\t\t_this.error.setError(\"Property already exists\");",
            "\t\treturn;\t",
            "\t}",
index b69a14e..6e52b39 100644 (file)
@@ -727,7 +727,7 @@ public class Xcls_PopoverProperty : Object
                // since we can't add listeners?!?!?
                // only check props.
                // check if property already exists in node.    
-               if (this.node.props.has_key(prop.to_index_key())) {
+               if (_this.node.props.has_key(prop.to_index_key())) {
                        _this.error.setError("Property already exists");
                        return; 
                }