From: Alan Knowles Date: Thu, 21 Mar 2019 06:32:58 +0000 (+0800) Subject: NewBranch.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=e7415685b32a142194634922c9ce34fa99c88b94 NewBranch.bjs NewBranch.vala --- diff --git a/NewBranch.bjs b/NewBranch.bjs index 1d8ea4f0..9ac865fd 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -540,7 +540,7 @@ }, { "listeners" : { - "key_release_event" : "() => { \n\n\t_this.createbtn.updateState();\n}" + "key_release_event" : "() => { \n\n\t_this.createbtn.updateState();\n\treturn true;\n}" }, "id" : "commit_message", "$ visible" : true, diff --git a/NewBranch.vala b/NewBranch.vala index d13b5ba6..a640ad02 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -2381,6 +2381,7 @@ public class NewBranch : Object this.el.key_release_event.connect( () => { _this.createbtn.updateState(); + return true; }); }