From 4f6e8e1338f20bc255f3aafac49fbb813d562f0e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 16 Dec 2018 01:17:01 +0100 Subject: [PATCH] timerlist: fix return from RemoteBoxSelect() when no item is choosed Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/755fe81d8cbef1fca160d02c00e6943b2ecaf1c2 Author: vanhofen Date: 2018-12-16 (Sun, 16 Dec 2018) Origin message was: ------------------ - timerlist: fix return from RemoteBoxSelect() when no item is choosed ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/timerlist.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/timerlist.cpp b/src/gui/timerlist.cpp index 92063fe7c..255e41134 100644 --- a/src/gui/timerlist.cpp +++ b/src/gui/timerlist.cpp @@ -757,6 +757,9 @@ void CTimerList::RemoteBoxSelect() m->enableSaveScreen(); m->exec(NULL, ""); + if (!m->gotAction()) + return; + delete selector; }