diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-15 11:18:36 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-15 11:18:36 +0200 |
commit | 4ba450b7372709507a8602ae5c80b47ef39b6d38 (patch) | |
tree | 325667a6b015156e4e25c5f14bf6b02959bff064 /menu.c | |
parent | 3d8a9c965366f35ceeadcceb9744ef0fc8f26455 (diff) | |
download | vdr-4ba450b7372709507a8602ae5c80b47ef39b6d38.tar.gz vdr-4ba450b7372709507a8602ae5c80b47ef39b6d38.tar.bz2 |
Implemented cPlugin::Active()
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; } |