From f65fbc5cd3824d27585268e54bd7bd22c0adaea5 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 21 Mar 2019 13:53:58 +0800 Subject: [PATCH] NewBranch.bjs NewBranch.vala --- NewBranch.bjs | 2 +- NewBranch.vala | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.2