changeset 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 5b19fb5eae7e
children 5983d6be4f07
files src/browser/sat_browser/menu.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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):