summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/displayable.py2
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: