changeset 610:5b19fb5eae7e frontends_multi_profiles

browser side: widget is deleted by default when close button is clicked in LiberviaWidget
author Goffi <goffi@goffi.org>
date Tue, 10 Feb 2015 19:11:24 +0100
parents ec77c2bc18d3
children 6016c74ee323
files src/browser/sat_browser/base_widget.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/sat_browser/base_widget.py	Tue Feb 10 19:10:28 2015 +0100
+++ b/src/browser/sat_browser/base_widget.py	Tue Feb 10 19:11:24 2015 +0100
@@ -342,6 +342,7 @@
         _widgetspanel = self.getWidgetsPanel()
         _widgetspanel.removeWidget(self)
         self.onQuit()
+        self.host.widgets.deleteWidget(self)
 
     def onQuit(self):
         """ Called when the widget is actually ending """