Rename setting for consistency

This commit is contained in:
Lorenz Hübschle-Schneider 2017-03-06 15:34:45 +01:00
parent 64fc470cf3
commit e17fce6f6d
3 changed files with 3 additions and 3 deletions

View file

@ -488,7 +488,7 @@ npm run build-electron-{windows, darwin, linux}</pre>
<form class="form-inline" role="form">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="settings.enableAltSwitcher">
<input type="checkbox" ng-model="settings.enableQuickKeys">
Use Alt+[0-9] to switch buffers
</label>
</div>

View file

@ -44,7 +44,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
'readlineBindings': false,
'enableJSEmoji': (utils.isMobileUi() ? false : true),
'enableMathjax': false,
'enableAltSwitcher': true,
'enableQuickKeys': true,
'customCSS': '',
"currentlyViewedBuffers":{},
});

View file

@ -247,7 +247,7 @@ weechat.directive('inputBar', function() {
$scope.iterCandidate = null;
// Left Alt+[0-9] -> jump to buffer
if ($event.altKey && !$event.ctrlKey && (code > 47 && code < 58) && settings.enableAltSwitcher) {
if ($event.altKey && !$event.ctrlKey && (code > 47 && code < 58) && settings.enableQuickKeys) {
if (code === 48) {
code = 58;
}