From ba6d22d6cf062a6dd79e253578985364cb411834 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 18 Feb 2013 01:34:35 +0100 Subject: gui.ui: first destroy children, then itself --- ranger/gui/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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""" -- cgit 1.4.1-2-gfad0