diff src/browser/libervia_main.py @ 643:3e4826948eef frontends_multi_profiles

browser side: do a hard reload on disconnected signal
author Goffi <goffi@goffi.org>
date Tue, 24 Feb 2015 19:15:28 +0100
parents 7113d40533d6
children 7692bbfe0b2f
line wrap: on
line diff
--- a/src/browser/libervia_main.py	Tue Feb 24 19:15:07 2015 +0100
+++ b/src/browser/libervia_main.py	Tue Feb 24 19:15:28 2015 +0100
@@ -366,6 +366,10 @@
         log.debug("newWidget: {}".format(widget))
         self.addWidget(widget)
 
+    def disconnectedHandler(self, profile):
+        QuickApp.disconnectedHandler(self, profile)
+        Window.getLocation().reload()
+
     def setStatusOnline(self, online=True, show="", statuses={}, profile=C.PROF_KEY_NONE):
         log.warning("setStatusOnline is not implemented, as session are for unique profile which is always online for now")