Merge branch 'WirelessLanSetup' into vuplus_experimental
[vuplus_dvbapp] / lib / python / Components / Button.py
index 25346b4..2a60a98 100644 (file)
@@ -31,3 +31,6 @@ class Button(VariableText, HTMLComponent, GUIComponent):
        def postWidgetCreate(self, instance):
                instance.setText(self.text)
                instance.selected.get().append(self.push)
+
+       def preWidgetRemove(self, instance):
+               instance.selected.get().remove(self.push)