[chronojump] Minor changes
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Minor changes
- Date: Sun, 4 Dec 2016 18:12:12 +0000 (UTC)
commit 502d9057725b5c833fcb0a811fadc33c4bb66af0
Author: Xavier de Blas <xaviblas gmail com>
Date: Sun Dec 4 19:11:37 2016 +0100
Minor changes
glade/repetitive_conditions.glade | 2 +-
src/chronopic2016.cs | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/glade/repetitive_conditions.glade b/glade/repetitive_conditions.glade
index 34a2525..6c938a8 100644
--- a/glade/repetitive_conditions.glade
+++ b/glade/repetitive_conditions.glade
@@ -3358,7 +3358,7 @@
</child>
<child>
<widget class="GtkCheckButton" id="checkbutton_inertial_discard_first_three">
- <property name="label" translatable="yes">On inertial discard first three curves.</property>
+ <property name="label" translatable="yes">On inertial discard first three repetitions.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
diff --git a/src/chronopic2016.cs b/src/chronopic2016.cs
index 67dc322..fcd26c5 100644
--- a/src/chronopic2016.cs
+++ b/src/chronopic2016.cs
@@ -359,10 +359,14 @@ public class Chronopic2016
// <----- change multitest firmware END
- public void SerialPortsCloseIfNeeded() {
+ public void SerialPortsCloseIfNeeded()
+ {
if(sp != null && sp.IsOpen) {
LogB.Information("Closing sp");
sp.Close();
+
+ LogB.Information("Disposing cp to see if helps on OSX port busy");
+ //cp = null;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]