[chronojump] Fixed a crash in runIntervalExecute when limited by time and there's only one event detected, and it
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed a crash in runIntervalExecute when limited by time and there's only one event detected, and it
- Date: Mon, 15 Dec 2014 18:03:51 +0000 (UTC)
commit 23870b818dbe8cccf975963059d63331410af43a
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Dec 15 19:03:19 2014 +0100
Fixed a crash in runIntervalExecute when limited by time and there's only one event detected, and it's
out of time (Nicola)
src/execute/run.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/execute/run.cs b/src/execute/run.cs
index f799bf2..7d0ddcd 100644
--- a/src/execute/run.cs
+++ b/src/execute/run.cs
@@ -876,7 +876,10 @@ public class RunIntervalExecute : RunExecute
//run limited by time that first subRun has arrived later
than maximum for the whole run,
//and DeleteLastSubEvent returns "-" as a mark
if(intervalTimesString[0] == '-') {
- new DialogMessage(Constants.MessageTypes.WARNING,
Catalog.GetString("Run will not be recorded, 1st track is out of time"));
+ //this dialog can make crash the software because the
non-gui part calls it
+ //new DialogMessage(Constants.MessageTypes.WARNING,
+ // Catalog.GetString("Run will not be
recorded, 1st track is out of time"));
+ Log.WriteLine("Run will not be recorded, 1st track is
out of time");
//mark for not having problems with cancelled
cancel = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]