From 1bc3c293fa9cd15a23bf562c26955e1fd317c16a Mon Sep 17 00:00:00 2001 From: Asmageddon Date: Tue, 29 May 2012 15:32:55 +0200 Subject: [PATCH] Added another fix for flicker bug. Looks like it's not possible to completely get rid of it, but it should be around 10000 times less common now --- deluge/ui/console/modes/alltorrents.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/console/modes/alltorrents.py b/deluge/ui/console/modes/alltorrents.py index 5d78366c0..9a64593c5 100644 --- a/deluge/ui/console/modes/alltorrents.py +++ b/deluge/ui/console/modes/alltorrents.py @@ -716,6 +716,8 @@ class AllTorrents(BaseMode, component.Component): self.popup = MessagePopup(self,title,msg) if not lines: + if component.get("ConsoleUI").screen != self: + return self.stdscr.erase() # Update the status bars