mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-12-27 15:14:25 +01:00
Fixed a possible invalid lock sequence if the main menu is open and the user switches to a channel that is currently not available, using the Channel+/- keys
This commit is contained in:
4
device.c
4
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.28 2018/07/16 09:29:57 kls Exp $
|
||||
* $Id: device.c 4.29 2019/05/06 13:10:36 kls Exp $
|
||||
*/
|
||||
|
||||
#include "device.h"
|
||||
@@ -831,7 +831,7 @@ bool cDevice::SwitchChannel(int Direction)
|
||||
result = true;
|
||||
}
|
||||
else if (n != first)
|
||||
Skins.Message(mtError, tr("Channel not available!"));
|
||||
Skins.QueueMessage(mtError, tr("Channel not available!"));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user