From: thedoc Date: Fri, 1 Jan 2010 13:00:47 +0000 (+0100) Subject: fixes bug #362 X-Git-Tag: 3.0.0~58 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/e5ea5996f6f641d5f66f23f9cfba273722740582 fixes bug #362 allow assigning standby function to long power button press --- diff --git a/mytest.py b/mytest.py index 253ee168..a3cfb5a2 100755 --- a/mytest.py +++ b/mytest.py @@ -383,6 +383,8 @@ class PowerKey: menu_screen = self.session.openWithCallback(self.MenuClosed, MainMenu, x) menu_screen.setTitle(_("Standby / Restart")) return + elif action == "standby": + self.standby() def powerdown(self): self.standbyblocked = 0