Don't show quick keys if they're disabled

This commit is contained in:
Lorenz Hübschle-Schneider 2017-03-06 15:40:11 +01:00
parent e17fce6f6d
commit f4db7c2647

View file

@ -480,7 +480,7 @@ weechat.directive('inputBar', function() {
} }
// Alt key down -> display quick key legend // 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; $rootScope.showQuickKeys = true;
} }
}; };