MergeBranch.bjs wip_alan_T5639_gitlive_general_tidy_ups
authorAlan Knowles <alan@roojs.com>
Wed, 30 Jan 2019 08:24:24 +0000 (16:24 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 30 Jan 2019 08:24:24 +0000 (16:24 +0800)
MergeBranch.vala

MergeBranch.bjs
MergeBranch.vala

index f45c0b0..3b4e284 100644 (file)
         },
         {
          "listeners" : {
-          "changed" : "() => {\n\tif (this.loading) {\n\t\treturn;\n\t}\n\t  \n\t_this.view.loadTicket(ticket.id);\n\t _this.name.updateText();\n\t//GLib.debug (//\"Selection: %s, %s\\n\", (string) val1, (string) val2);\n}"
+          "changed" : "() => {\n\tif (this.loading) {\n\t\treturn;\n\t}\n\t  \n\t_this.view.loadTicket(this.selectedTicketId());\n\t _this.name.updateText();\n\t//GLib.debug (//\"Selection: %s, %s\\n\", (string) val1, (string) val2);\n}"
          },
          "* ctor" : "new Gtk.ComboBox.with_entry()",
          "id" : "ticketsel",
index 9ec2ac3..a0c6229 100644 (file)
@@ -675,7 +675,7 @@ public class MergeBranch : Object
                        return;
                }
                  
-               _this.view.loadTicket(ticket.id);
+               _this.view.loadTicket(this.selectedTicketId());
                 _this.name.updateText();
                //GLib.debug (//"Selection: %s, %s\n", (string) val1, (string) val2);
             });