[chronojump/michrolab] On button detect clicked, erase event_execute_label_message (eg. if showing no device is present)
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/michrolab] On button detect clicked, erase event_execute_label_message (eg. if showing no device is present)
- Date: Thu, 14 Jul 2022 16:37:57 +0000 (UTC)
commit 2173c2e8e06b2fa039cc091727ad28b18bd2bd98
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Jul 12 16:17:51 2022 +0200
On button detect clicked, erase event_execute_label_message (eg. if showing no device is present)
src/gui/app1/chronojump.cs | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 31ff205ee..157822b0d 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -4633,19 +4633,9 @@ public partial class ChronoJumpWindow
DiscoverWindow discoverWin;
private void on_button_detect_clicked (object o, EventArgs args)
{
- /*
- if(
- current_mode != Constants.Modes.JUMPSSIMPLE &&
- current_mode != Constants.Modes.JUMPSREACTIVE &&
- current_mode != Constants.Modes.RUNSSIMPLE &&
- current_mode != Constants.Modes.RUNSINTERVALLIC &&
- ! Constants.ModeIsFORCESENSOR (current_mode) &&
- current_mode != Constants.Modes.RUNSENCODER)
- return;
- */
-
app1s_notebook_sup_entered_from = notebook_sup.CurrentPage; //CONTACTS or ENCODER
notebook_sup.CurrentPage = Convert.ToInt32 (notebook_sup_pages.MICRODISCOVER);
+ event_execute_label_message.Text = "";
menus_and_mode_sensitive (false);
chronopicRegisterUpdate (false);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]