summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index bb72d9fa..56eb0685 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.429 2006/04/14 14:28:34 kls Exp $
+ * $Id: menu.c 1.430 2006/04/15 10:30:52 kls Exp $
*/
#include "menu.h"
@@ -2696,7 +2696,9 @@ void cMenuSetup::Set(void)
eOSState cMenuSetup::Restart(void)
{
- if (Interface->Confirm(cRecordControls::Active() ? tr("Recording - restart anyway?") : tr("Really restart?"))) {
+ if (Interface->Confirm(tr("Really restart?"))
+ && (!cRecordControls::Active() || Interface->Confirm(tr("Recording - restart anyway?")))
+ && !cPluginManager::Active(tr("Really restart?"))) {
cThread::EmergencyExit(true);
return osEnd;
}