Force update for lite gui so update() gets called at least once (i.e if create/restor...
authorAmir Taaki <genjix@riseup.net>
Thu, 5 Jul 2012 20:56:45 +0000 (22:56 +0200)
committerAmir Taaki <genjix@riseup.net>
Thu, 5 Jul 2012 20:56:45 +0000 (22:56 +0200)
lib/gui_lite.py

index 19bad2b..a7352d5 100644 (file)
@@ -532,6 +532,7 @@ class MiniDriver(QObject):
 
         self.initializing()
         self.connect(self, SIGNAL("updatesignal()"), self.update)
+        self.update_callback()
 
     # This is a hack to workaround that Qt does not like changing the
     # window properties from this other thread before the runloop has