Prevent global python_poll blocks to be created when accidentally adding content to C-File OnChange column.
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Fri, 03 Jul 2020 14:02:04 +0200
changeset 2709 a1b185e21295
parent 2708 ea2aaeaaac4e
child 2710 aaa1dc426213
Prevent global python_poll blocks to be created when accidentally adding content to C-File OnChange column.
CodeFileTreeNode.py
--- a/CodeFileTreeNode.py	Mon May 11 11:10:38 2020 +0200
+++ b/CodeFileTreeNode.py	Fri Jul 03 14:02:04 2020 +0200
@@ -207,9 +207,6 @@
                 variable.gettype(),
                 variable.getinitial())
                for variable in variables]
-        ret.extend([("On"+variable.getname()+"Change", "python_poll", "")
-                    for variable in variables
-                    if variable.getonchange()])
         return ret
 
     def CTNSearch(self, criteria):