diff --git a/qutebrowser/utils/types.py b/qutebrowser/utils/types.py index 522d47d35..dd46d8f86 100644 --- a/qutebrowser/utils/types.py +++ b/qutebrowser/utils/types.py @@ -85,7 +85,7 @@ class NeighborList: if not self._items: raise IndexError("No items found!") try: - if self.idx + offset > 0: + if self.idx + offset >= 0: new = self._items[self.idx + offset] else: raise IndexError