diff options
author | hut <hut@lavabit.com> | 2013-02-18 01:34:35 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-18 01:34:35 +0100 |
commit | ba6d22d6cf062a6dd79e253578985364cb411834 (patch) | |
tree | 644b0217361714f26878383f7114e4af41b061bb | |
parent | 2b3110fcfe4ecfeec120c700eb7b7ddb85c4fc40 (diff) | |
download | ranger-ba6d22d6cf062a6dd79e253578985364cb411834.tar.gz |
gui.ui: first destroy children, then itself
-rw-r--r-- | ranger/gui/ui.py | 2 |
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""" |