[chronojump] Fixed problem on connecting chronopic while on multijumps or jumps reactive
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed problem on connecting chronopic while on multijumps or jumps reactive
- Date: Mon, 15 Dec 2014 16:51:50 +0000 (UTC)
commit 8125bcd99e58f4cdf12329f77e732a593b5daf2f
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Dec 15 17:51:00 2014 +0100
Fixed problem on connecting chronopic while on multijumps or jumps reactive
src/gui/chronojump.cs | 3 ---
src/gui/chronopic.cs | 2 +-
2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index f3450e9..def715e 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -2834,12 +2834,10 @@ public partial class ChronoJumpWindow
notebook_sup.CurrentPage = 0;
notebook_sup_contacts.CurrentPage = 0;
menuitem_mode_selected_jumps.Visible = true;
- radio_mode_jumps_small.Active = true;
} else if(m == menuitem_modes.RUNS) {
notebook_sup.CurrentPage = 0;
notebook_sup_contacts.CurrentPage = 1;
menuitem_mode_selected_runs.Visible = true;
- radio_mode_runs_small.Active = true;
} else if(m == menuitem_modes.POWER) {
notebook_sup.CurrentPage = 1;
menuitem_mode_selected_power.Visible = true;
@@ -2847,7 +2845,6 @@ public partial class ChronoJumpWindow
notebook_sup.CurrentPage = 0;
notebook_sup_contacts.CurrentPage = 2;
menuitem_mode_selected_other.Visible = true;
- radio_mode_reaction_times_small.Active = true;
}
//show the program
diff --git a/src/gui/chronopic.cs b/src/gui/chronopic.cs
index c40652e..68048e3 100644
--- a/src/gui/chronopic.cs
+++ b/src/gui/chronopic.cs
@@ -552,6 +552,7 @@ Log.WriteLine("bbb");
private void pulseEnd() {
button_cancel.Sensitive = false;
connecting = false;
+ fakeWindowDone.Click();
}
private void updateChronopicWin(bool state, string message) {
@@ -918,7 +919,6 @@ Log.WriteLine("bbb");
foreach(ChronopicPortData a in cpd)
Log.WriteLine(a.Num + ", " + a.Port + ", " + a.Connected);
- fakeWindowDone.Click();
needUpdateChronopicWin = true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]