From f4db7c26477c75f8c9c16b886fafd1ea57f1532e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Mon, 6 Mar 2017 15:40:11 +0100 Subject: [PATCH] Don't show quick keys if they're disabled --- js/inputbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/inputbar.js b/js/inputbar.js index 90ed779..c77bcf4 100644 --- a/js/inputbar.js +++ b/js/inputbar.js @@ -480,7 +480,7 @@ weechat.directive('inputBar', function() { } // Alt key down -> display quick key legend - if ($event.type === "keydown" && code === 18 && !$event.ctrlKey && !$event.shiftKey) { + if ($event.type === "keydown" && code === 18 && !$event.ctrlKey && !$event.shiftKey && settings.enableQuickKeys) { $rootScope.showQuickKeys = true; } };