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

This commit is contained in:
Asmageddon 2012-05-29 15:32:55 +02:00
parent bbf0666539
commit 1bc3c293fa
1 changed files with 2 additions and 0 deletions

View File

@ -716,6 +716,8 @@ class AllTorrents(BaseMode, component.Component):
self.popup = MessagePopup(self,title,msg) self.popup = MessagePopup(self,title,msg)
if not lines: if not lines:
if component.get("ConsoleUI").screen != self:
return
self.stdscr.erase() self.stdscr.erase()
# Update the status bars # Update the status bars