[chronojump] On button detect clicked, erase event_execute_label_message (eg. if showing no device is present)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] On button detect clicked, erase event_execute_label_message (eg. if showing no device is present)
- Date: Tue, 12 Jul 2022 14:18:23 +0000 (UTC)
commit 9902ccbbcba334b239e8610310136676ccf01cb9
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]