Rename setting for consistency
This commit is contained in:
parent
64fc470cf3
commit
e17fce6f6d
3 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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":{},
|
||||
});
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue