summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-18 01:34:35 +0100
committerhut <hut@lavabit.com>2013-02-18 01:34:35 +0100
commitba6d22d6cf062a6dd79e253578985364cb411834 (patch)
tree644b0217361714f26878383f7114e4af41b061bb /ranger
parent2b3110fcfe4ecfeec120c700eb7b7ddb85c4fc40 (diff)
downloadranger-ba6d22d6cf062a6dd79e253578985364cb411834.tar.gz
gui.ui: first destroy children, then itself
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index f35b11bf..1025166e 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -119,8 +119,8 @@ class UI(DisplayableContainer):
 
     def destroy(self):
         """Destroy all widgets and turn off curses"""
-        self.suspend()
         DisplayableContainer.destroy(self)
+        self.suspend()
 
     def handle_mouse(self):
         """Handles mouse input"""