Mercurial > libervia-web
changeset 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 | 5af02673d047 |
children | 7692bbfe0b2f |
files | src/browser/libervia_main.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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")