fix a long standing bug with alt+# not respecting only unread setting

This commit is contained in:
Tor Hveem 2023-02-11 11:11:04 +01:00
parent 6a1d5cd276
commit 415583c3f5
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ weechat.directive('inputBar', function() {
bufferNumber = code - 48 - 1 ;
// quick select filtered entries
if (($scope.$parent.search.length || $scope.$parent.onlyUnread) && $scope.$parent.filteredBuffers.length) {
if (($scope.$parent.search.length || settings.onlyUnread) && $scope.$parent.filteredBuffers.length) {
filteredBufferNum = $scope.$parent.filteredBuffers[bufferNumber];
if (filteredBufferNum !== undefined) {
activeBufferId = [filteredBufferNum.number, filteredBufferNum.id];