[chronojump] Minor change
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Minor change
- Date: Wed, 4 Jan 2017 07:01:28 +0000 (UTC)
commit fb0d5b782d6167e50a0df31f7b8bc25e1bca72c5
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jan 4 08:00:34 2017 +0100
Minor change
src/gui/chronojump.cs | 15 ---------------
src/gui/chronopic.cs | 15 +++++++++++++++
2 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 2f0fb75..3c4a03d 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3647,21 +3647,6 @@ public partial class ChronoJumpWindow
label_threshold.Text = threshold.GetLabel();
}
- private void changeMultitestFirmwareIfNeeded(int cpCount)
- {
- //change multitest stuff
- threshold.UpdateAtDatabaseIfNeeded(getMenuItemMode());
- if(threshold.ShouldUpdateChronopicFirmware(cpCount))
- {
- bool ok = cp2016.ChangeMultitestFirmwarePre(threshold.GetT, cpCount);
- if(ok)
- threshold.ChronopicFirmwareUpdated(cpCount);
- }
-
- connectingSequence = connectingSequenceEnum.END;
- chronopicConnectionSequenceDo();
- }
-
void on_button_execute_test_clicked (object o, EventArgs args)
{
chronopicRegisterUpdate(false);
diff --git a/src/gui/chronopic.cs b/src/gui/chronopic.cs
index e8d7bf6..750e937 100644
--- a/src/gui/chronopic.cs
+++ b/src/gui/chronopic.cs
@@ -139,4 +139,19 @@ public partial class ChronoJumpWindow
LogB.Warning("Failure at Connecting real! (main GUI)");
}
+ private void changeMultitestFirmwareIfNeeded(int cpCount)
+ {
+ //change multitest stuff
+ threshold.UpdateAtDatabaseIfNeeded(getMenuItemMode());
+ if(threshold.ShouldUpdateChronopicFirmware(cpCount))
+ {
+ bool ok = cp2016.ChangeMultitestFirmwarePre(threshold.GetT, cpCount);
+ if(ok)
+ threshold.ChronopicFirmwareUpdated(cpCount);
+ }
+
+ connectingSequence = connectingSequenceEnum.END;
+ chronopicConnectionSequenceDo();
+ }
+
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]