[chronojump] Do not show threshold button on WICHRO
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Do not show threshold button on WICHRO
- Date: Wed, 13 Jul 2022 08:51:15 +0000 (UTC)
commit 8aa57e1948832bbca3585423bd2412f8606ca3e6
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jul 13 10:50:40 2022 +0200
Do not show threshold button on WICHRO
src/gui/app1/chronojump.cs | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index a572d8a82..a6ae8167e 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -4675,6 +4675,11 @@ public partial class ChronoJumpWindow
{
chronopicRegister.SetSelectedForMode (discoverWin.PortSelected, current_mode);
button_detect_show_hide (false);
+
+ //do not show the threshold on WICHRO
+ //if ( chronopicRegister.NumConnectedOfType
(ChronopicRegisterPort.Types.RUN_WIRELESS) == 1)
+ if (current_mode == Constants.Modes.RUNSSIMPLE || current_mode ==
Constants.Modes.RUNSINTERVALLIC)
+ button_threshold.Visible = (discoverWin.PortSelected.Type !=
ChronopicRegisterPort.Types.RUN_WIRELESS);
}
notebook_sup.CurrentPage = app1s_notebook_sup_entered_from; //CONTACTS or ENCODER
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]