diff options
-rw-r--r-- | ranger/gui/displayable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py index 88a78b37..a66732d9 100644 --- a/ranger/gui/displayable.py +++ b/ranger/gui/displayable.py @@ -316,7 +316,7 @@ class DisplayableContainer(Displayable): def remove_child(self, obj): """Remove the object from the container.""" try: - container.remove(obj) + self.container.remove(obj) except ValueError: pass else: |