initialize self.zapFunc always.. this fixes a bluescreen on red button press when
[vuplus_dvbapp] / mytest.py
index 76f0d33..8b3ad49 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -250,6 +250,7 @@ class Session:
        def openWithCallback(self, callback, screen, *arguments, **kwargs):
                dlg = self.open(screen, *arguments, **kwargs)
                dlg.callback = callback
+               return dlg
 
        def open(self, screen, *arguments, **kwargs):
                if len(self.dialog_stack) and not self.in_exec: