summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-07-13 08:16:41 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2020-07-13 08:16:41 +0200
commit88a2ef45eed69224a378f09ef4511cbe8956248a (patch)
tree370048eeec7ada2c866c320a754d0e28476e03d6 /device.c
parentdd6077eb9088e0d4247b9408b251341a45db8eda (diff)
downloadvdr-88a2ef45eed69224a378f09ef4511cbe8956248a.tar.gz
vdr-88a2ef45eed69224a378f09ef4511cbe8956248a.tar.bz2
Fixed a possible 'invalid lock sequence' when switching to an unavailable channel with the main menu open
Diffstat (limited to 'device.c')
-rw-r--r--device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/device.c b/device.c
index eba59c30..e77bec2e 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 4.34 2020/06/27 10:24:46 kls Exp $
+ * $Id: device.c 4.35 2020/07/13 08:16:41 kls Exp $
*/
#include "device.h"
@@ -808,9 +808,9 @@ bool cDevice::SwitchChannel(const cChannel *Channel, bool LiveView)
for (int i = 3; i--;) {
switch (SetChannel(Channel, LiveView)) {
case scrOk: return true;
- case scrNotAvailable: Skins.Message(mtInfo, tr("Channel not available!"));
+ case scrNotAvailable: Skins.QueueMessage(mtInfo, tr("Channel not available!"));
return false;
- case scrNoTransfer: Skins.Message(mtError, tr("Can't start Transfer Mode!"));
+ case scrNoTransfer: Skins.QueueMessage(mtError, tr("Can't start Transfer Mode!"));
return false;
case scrFailed: break; // loop will retry
default: esyslog("ERROR: invalid return value from SetChannel");