NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 06:25:16 +0000 (14:25 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 06:25:16 +0000 (14:25 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index 7b44854..572923d 100644 (file)
          "items" : [
           {
            "listeners" : {
-            "activate" : "() => {\n\tvar project_id = _this.projectsel.selectedProjectId();\n\t_this.dbmodel.loadTickets(project_id);\t\n}"
+            "toggled" : "() => {\n\tvar project_id = _this.projectsel.selectedProjectId();\n\t_this.dbmodel.loadTickets(project_id);\t\n}"
            },
            "id" : "btn_not_me",
            "string label" : "Show tickets not assigned to me",
index 556f952..55b0369 100644 (file)
@@ -737,7 +737,7 @@ public class NewBranch : Object
             this.el.label = "Show tickets not assigned to me";
 
             //listeners
-            this.el.activate.connect( () => {
+            this.el.toggled.connect( () => {
                var project_id = _this.projectsel.selectedProjectId();
                _this.dbmodel.loadTickets(project_id);  
             });