Merge pull request #1242 from torhve/fix-altnr
fix a long standing bug with alt+# not respecting the "only unread" setting
This commit is contained in:
commit
c17282b32c
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue