Mercurial > libervia-web
diff src/browser/sat_browser/menu.py @ 611:6016c74ee323 frontends_multi_profiles
browser side: web widget is recreated when there is already one
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 10 Feb 2015 19:13:25 +0100 |
parents | a5019e62c3e9 |
children | 1c0d5a87c554 |
line wrap: on
line diff
--- a/src/browser/sat_browser/menu.py Tue Feb 10 19:11:24 2015 +0100 +++ b/src/browser/sat_browser/menu.py Tue Feb 10 19:13:25 2015 +0100 @@ -98,7 +98,7 @@ # General menu def onWebWidget(self): - web_widget = self.host.widgets.getOrCreateWidget(panels.WebPanel, C.WEB_PANEL_DEFAULT_URL, profile=C.PROF_KEY_NONE) + web_widget = self.host.widgets.getOrCreateWidget(panels.WebPanel, C.WEB_PANEL_DEFAULT_URL, profile=C.PROF_KEY_NONE, on_existing_widget=C.WIDGET_RECREATE) self.host.setSelected(web_widget) def onDisconnect(self):