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:
='n80' href='#n80'>80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124