aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/Standby.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2011-02-22 19:34:05 +0100
committerghost <andreas.monzner@multimedia-labs.de>2011-02-22 19:34:05 +0100
commit50d5aff4b1e51eb3b0e014b0b0d519fbdb63c844 (patch)
tree0951bd4892cb8fd69a14fbc1326e0e61a5e97f82 /lib/python/Screens/Standby.py
parent1e4c82ee8d55cd1fc22da279eecdfb6a25521eb5 (diff)
parentdd8a62a39c055230364641b7413ca34b2f00e51c (diff)
downloadenigma2-50d5aff4b1e51eb3b0e014b0b0d519fbdb63c844.tar.gz
enigma2-50d5aff4b1e51eb3b0e014b0b0d519fbdb63c844.zip
Merge branch 'bug_690_fix_oled_lcd_clear_on_shutdown'
Diffstat (limited to 'lib/python/Screens/Standby.py')
-rw-r--r--lib/python/Screens/Standby.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/python/Screens/Standby.py b/lib/python/Screens/Standby.py
index 1a7ebbd1..94a56ee4 100644
--- a/lib/python/Screens/Standby.py
+++ b/lib/python/Screens/Standby.py
@@ -160,14 +160,9 @@ class TryQuitMainloop(MessageBox):
self.conntected=False
self.session.nav.record_event.remove(self.getRecordEvent)
if value:
- # hack .. we dont like to show any other screens when this screen has closed
- self.onClose = [self.__closed]
- self.session.dialog_stack = []
- self.session.summary_stack = [None]
- MessageBox.close(self, True)
-
- def __closed(self):
- quitMainloop(self.retval)
+ quitMainloop(self.retval)
+ else:
+ MessageBox.close(self, True)
def __onShow(self):
global inTryQuitMainloop