X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DependTree%2FWindow.bjs;h=f3b52c43fd183521cc5327fd03045be04526662a;hb=8b897017a902a37de82f31ca6f6984605575ab10;hp=d174c86e36789663966afa910d763bf80e8e7a5e;hpb=39742f8703fa08bf0a9a7dccda48b11b31fc324c;p=app.Builder.js diff --git a/DependTree/Window.bjs b/DependTree/Window.bjs index d174c86e3..f3b52c43f 100644 --- a/DependTree/Window.bjs +++ b/DependTree/Window.bjs @@ -72,7 +72,7 @@ "items": [ { "listeners": { - "toggled": "function (self, path) {\n print(\"TOGGLE\");\n // this.list\n return;\n var list = this.get('class-list-store');\n var iter = list.el.getIter(path);\n var old = list.getValue(iter, 1);\n list.setValue(iter, 1, !old)\n \n \n \n \n}" + "toggled": "function (self, path) {\n print(\"TOGGLE\");\n // this.list\n return;\n var list = this.get('class-list-store');\n \n var old = list.getValue(path, 1);\n list.setValue(path, 1, !old)\n \n \n \n \n}" }, "activatable": true, "xtype": "CellRendererToggle",