diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-02-14 20:40:05 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-02-14 20:40:05 +0000 |
| commit | 8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f (patch) | |
| tree | c382ddc39fdc759befd9e281bcc011e1dd579e9d /lib/python/Components/Button.py | |
| parent | 6f73e6abddf4170357c490966d0e1c622eb376f5 (diff) | |
| download | enigma2-8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f.tar.gz enigma2-8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f.zip | |
unlink some cyclic dependencys to get garbage collection working
Diffstat (limited to 'lib/python/Components/Button.py')
| -rw-r--r-- | lib/python/Components/Button.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
