From 61eb3d20f95a47d1c52edba14a1177d70cdf319a Mon Sep 17 00:00:00 2001 From: Florrie Date: Sat, 15 Sep 2018 15:39:08 -0300 Subject: Don't bubble cancel in Dialog --- ui/Dialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/Dialog.js b/ui/Dialog.js index d200d08..0b77b12 100644 --- a/ui/Dialog.js +++ b/ui/Dialog.js @@ -50,6 +50,7 @@ module.exports = class Dialog extends FocusElement { keyPressed(keyBuf) { if (telc.isCancel(keyBuf)) { this.emit('cancelled') + return false } } } -- cgit 1.3.0-6-gf8a5