summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-04 19:48:30 +0200
committerhut <hut@lavabit.com>2010-04-04 19:48:30 +0200
commitaaf7252bac424d459b59f9fb631654f96affd6c9 (patch)
tree9142178f9b0d4efe82cfe4631559a4ea0b673674 /ranger
parentbf39153821a5b30e5d7aea8789e2eefabcaae67a (diff)
downloadranger-aaf7252bac424d459b59f9fb631654f96affd6c9.tar.gz
gui.displayable: fixed DisplayableContainer.remove_child()
Diffstat (limited to 'ranger')
-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: