diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-16 12:46:15 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-16 12:46:15 +0200 |
commit | 7399d8eff42e73420a13440d021431e8d8e7d78c (patch) | |
tree | 81d316e957064a5ca83b0b1634ed383f44ce9691 /menu.c | |
parent | 6702994adc8ee6951484b9e6b9ab1131cfa6c876 (diff) | |
download | vdr-7399d8eff42e73420a13440d021431e8d8e7d78c.tar.gz vdr-7399d8eff42e73420a13440d021431e8d8e7d78c.tar.bz2 |
No longer starting the editing process if no marks have been set
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.244 2003/05/11 16:06:05 kls Exp $ + * $Id: menu.c 1.245 2003/05/16 12:40:12 kls Exp $ */ #include "menu.h" @@ -3494,7 +3494,9 @@ void cReplayControl::EditCut(void) if (fileName) { Hide(); if (!cCutter::Active()) { - if (!cCutter::Start(fileName)) + if (!marks.Count()) + Interface->Error(tr("No editing marks defined!")); + else if (!cCutter::Start(fileName)) Interface->Error(tr("Can't start editing process!")); else Interface->Info(tr("Editing process started")); |