[chronojump] if we are on debug mode: show in the app1.Title



commit bf24640e855685180566e75ec7c0d6eabf3e0c5b
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Aug 3 16:53:38 2020 +0200

    if we are on debug mode: show in the app1.Title

 src/gui/app1/chronojump.cs | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 3726392a..e6b6456a 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -2458,6 +2458,9 @@ public partial class ChronoJumpWindow
                                title += " - " + modePrint;
                }
 
+               if(preferences.debugMode)
+                       title += " - DEBUG MODE";
+
                app1.Title = title;
        }
        
@@ -6728,6 +6731,12 @@ LogB.Debug("mc finished 5");
                //menuitem_check_race_encoder_capture_simulate.Visible = true;
 
                preferencesWin.DebugActivated();
+
+               //app1.Title += " - DEBUG MODE";
+               if(currentSession == null)
+                       setApp1Title("", current_menuitem_mode);
+               else
+                       setApp1Title(currentSession.Name, current_menuitem_mode);
        }
 
        private void on_button_gui_tests_clicked (object o, EventArgs args)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]