X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/67b53c1cb06988394c35a6e965c99b72b67fe1be..4c1d3d2f5cf39f72bf85041a6ba6665350ea742e:/lib/python/Components/Button.py diff --git a/lib/python/Components/Button.py b/lib/python/Components/Button.py index 25346b42..2a60a98f 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)