update, then present, not the other way around

This commit is contained in:
Marcos Pinto 2008-01-09 18:05:24 +00:00
parent fcfdcd6b06
commit cb64ecb282

View File

@ -535,9 +535,9 @@ window, please enter your password"))
if self.window.is_active():
self.window.hide()
else:
self.window.present()
# Force UI update as we don't update it while minimized
self.update()
self.window.present()
else:
if self.config.get("lock_tray"):
self.unlock_tray("mainwinshow")