From: Alan Knowles Date: Thu, 21 Mar 2019 05:53:58 +0000 (+0800) Subject: NewBranch.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=f65fbc5cd3824d27585268e54bd7bd22c0adaea5 NewBranch.bjs NewBranch.vala --- diff --git a/NewBranch.bjs b/NewBranch.bjs index a7c66705..28405aec 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -500,7 +500,7 @@ "bool homogeneous" : false, "* pack" : "append_page,_this.label_quick_commit.el", "xtype" : "Box", - "| void load_data" : "() {\n\n}\n", + "| void load_data" : "() {\n _this.commit_message.el.set_text(\"\");\n \n}\n", "$ xns" : "Gtk", "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL", "items" : [ diff --git a/NewBranch.vala b/NewBranch.vala index 59e8bbce..d9c9f4ad 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -2242,7 +2242,8 @@ public class NewBranch : Object // user defined functions public void load_data () { - + _this.commit_message.el.set_text(""); + } } public class Xcls_Table52 : Object