diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-03 12:58:22 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-03 12:58:22 +0200 |
commit | 5956f7eeec27d86cb56642f51c423f4198a6ca43 (patch) | |
tree | 7ddbd3f33c260eeecd12d70aa3fd2bd6e4ce9f3b /menu.c | |
parent | 876ad5d5f6d8128ee92ad507a8ea1d536f9ae88b (diff) | |
download | vdr-5956f7eeec27d86cb56642f51c423f4198a6ca43.tar.gz vdr-5956f7eeec27d86cb56642f51c423f4198a6ca43.tar.bz2 |
The CAM enquiry menu now aborts if Menu is pressed
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 9 |
1 files changed, 7 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.373 2005/10/03 12:24:34 kls Exp $ + * $Id: menu.c 1.374 2005/10/03 12:53:51 kls Exp $ */ #include "menu.h" @@ -1386,7 +1386,7 @@ cMenuCamEnquiry::cMenuCamEnquiry(cCiEnquiry *CiEnquiry) cMenuCamEnquiry::~cMenuCamEnquiry() { if (!replied) - ciEnquiry->Cancel(); + ciEnquiry->Abort(); free(input); delete ciEnquiry; } @@ -1414,6 +1414,11 @@ eOSState cMenuCamEnquiry::ProcessKey(eKeys Key) default: break; } } + else if (state == osBack) { + ciEnquiry->Cancel(); + replied = true; + return osEnd; + } return state; } |