- global inTryQuitMainloop
- if config.SleepTimer.ask.value and not inTryQuitMainloop:
- Notifications.AddNotificationWithCallback(self.shutdown, MessageBox, _("A sleep timer want's to shut down\nyour Dreambox. Shutdown now?"), timeout = 20)
+ if config.SleepTimer.ask.value and not Screens.Standby.inTryQuitMainloop:
+ Notifications.AddNotificationWithCallback(self.shutdown, MessageBox, _("A sleep timer wants to shut down\nyour Dreambox. Shutdown now?"), timeout = 20)