diff options
-rw-r--r-- | ranger/core/tab.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/tab.py b/ranger/core/tab.py index 1771ffa2..b61a77cc 100644 --- a/ranger/core/tab.py +++ b/ranger/core/tab.py @@ -73,6 +73,8 @@ class Tab(FileManagerAware, SettingsAware): # pylint: disable=too-many-instance self._pointed_obj = self.thisdir.files[self._pointer] except TypeError: pass + except IndexError: + pass pointer = property(_get_pointer, _set_pointer) |