From: Alan Knowles Date: Thu, 21 Mar 2019 06:31:49 +0000 (+0800) Subject: NewBranch.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=1fbcea4b7aa884579b658e973b8d0ea1c7c1dbea NewBranch.bjs NewBranch.vala --- diff --git a/NewBranch.bjs b/NewBranch.bjs index f3946f34..895e259b 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -512,7 +512,7 @@ "bool homogeneous" : false, "* pack" : "append_page,_this.label_quick_commit.el", "xtype" : "Box", - "| void load_data" : "() {\n _this.commit_message.el.set_text(\"\");\n \n}\n", + "| void load_data" : "() {\n _this.commit_message.el.set_text(\"\");\n _this.createbtn.updateState();\n}\n", "$ xns" : "Gtk", "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL", "items" : [ diff --git a/NewBranch.vala b/NewBranch.vala index ced38722..e6408ba9 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -2295,7 +2295,7 @@ public class NewBranch : Object // user defined functions public void load_data () { _this.commit_message.el.set_text(""); - + _this.createbtn.updateState(); } } public class Xcls_Table53 : Object