diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-07-30 20:20:34 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-07-30 20:20:34 +0000 |
| commit | d0f2817f1832e912282c886454e4f8112da56966 (patch) | |
| tree | c56e018b3f0281cc9d5d3695c3dffa8eace19034 /mytest.py | |
| parent | 8cada4eb31be58a3fa3efa09afbf431b3b62ca08 (diff) | |
| download | enigma2-d0f2817f1832e912282c886454e4f8112da56966.tar.gz enigma2-d0f2817f1832e912282c886454e4f8112da56966.zip | |
allow standby only in InfoBar, MoviePlayer, Menus, Setup and Radiomode
Diffstat (limited to 'mytest.py')
| -rw-r--r-- | mytest.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -397,7 +397,8 @@ class PowerKey: self.standby() def standby(self): - self.session.open(Standby, self) + if self.session.current_dialog and self.session.current_dialog.ALLOW_SUSPEND: + self.session.open(Standby, self) def quit(self): # halt |
