[chronojump] More on last commit
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] More on last commit
- Date: Thu, 30 Jan 2020 15:28:10 +0000 (UTC)
commit 4ca39b6889dc628dab71685f0efe0481cfbf607e
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Jan 30 16:27:41 2020 +0100
More on last commit
src/gui/app1/chronojump.cs | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 25b6dda8..15ee71a4 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -7570,10 +7570,9 @@ LogB.Debug("mc finished 5");
chronopicRegisterWin.FakeButtonNetworksCheckSensors.Clicked -=
new EventHandler(on_chronopic_register_win_close_networks_check_encoder);
- List<ChronopicRegisterPort> l = SqliteChronopicRegister.SelectAll (false);
- foreach(ChronopicRegisterPort crp in l)
- if(crp.Type == ChronopicRegisterPort.Types.ENCODER && crp.Port != "")
- notebook_start.CurrentPage = 1;
+ chronopicRegisterUpdate(false, false);
+ if(chronopicRegister.NumConnectedOfType(ChronopicRegisterPort.Types.ENCODER) > 0)
+ notebook_start.CurrentPage = 1;
}
//trying to fix when an OSX disconnects and reconnects same chronopic (and it has captured)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]