[chronojump] Force close main program while capturing cont mode works ok
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Force close main program while capturing cont mode works ok
- Date: Thu, 26 Apr 2018 15:42:05 +0000 (UTC)
commit eb78b70c18008c20d0b9cf69b453fec325d4cd2e
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 26 17:39:36 2018 +0200
Force close main program while capturing cont mode works ok
src/gui/chronojump.cs | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index b754d0a..74a5984 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -2203,8 +2203,12 @@ public partial class ChronoJumpWindow
Util.GetDatabaseDir() + System.IO.Path.DirectorySeparatorChar +
"chronojump.db");
LogB.Information("Bye2!");
-
- encoderRProcCapture.SendEndProcess();
+
+ if(radio_encoder_capture_cont.Active)
+ on_button_encoder_capture_finish_cont_clicked(new object(), new EventArgs());
+ else
+ encoderRProcCapture.SendEndProcess();
+
encoderRProcAnalyze.SendEndProcess();
//cancel force capture process
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]