fix a long standing bug with alt+# not respecting only unread setting
This commit is contained in:
parent
6a1d5cd276
commit
415583c3f5
|
@ -491,7 +491,7 @@ weechat.directive('inputBar', function() {
|
||||||
bufferNumber = code - 48 - 1 ;
|
bufferNumber = code - 48 - 1 ;
|
||||||
|
|
||||||
// quick select filtered entries
|
// 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];
|
filteredBufferNum = $scope.$parent.filteredBuffers[bufferNumber];
|
||||||
if (filteredBufferNum !== undefined) {
|
if (filteredBufferNum !== undefined) {
|
||||||
activeBufferId = [filteredBufferNum.number, filteredBufferNum.id];
|
activeBufferId = [filteredBufferNum.number, filteredBufferNum.id];
|
||||||
|
|
Loading…
Reference in New Issue