X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FButton.py;h=2a60a98fa9a241e1f1083653127505442cb4e7cb;hb=7560beb3e371704d798259ca1ea927bf4575306c;hp=25346b42f055dd19bd8bfae74eb0e9aed1ac68d6;hpb=67b53c1cb06988394c35a6e965c99b72b67fe1be;p=vuplus_dvbapp diff --git a/lib/python/Components/Button.py b/lib/python/Components/Button.py index 25346b4..2a60a98 100644 --- a/lib/python/Components/Button.py +++ b/lib/python/Components/Button.py @@ -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)