[chronojump] Application title: Chronojump - session - mode



commit 693faf3df237bf4e0f66ee59d4cae531ff1b3784
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Jul 21 16:48:40 2021 +0200

    Application title: Chronojump - session - mode

 src/gui/app1/chronojump.cs | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 818eeb793..6fe12832f 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -2646,6 +2646,10 @@ public partial class ChronoJumpWindow
        private void setApp1Title(string sessionName, Constants.Menuitem_modes mode)
        {
                string title = progName;
+
+               if(sessionName != "")
+                       title += " - " + sessionName;
+
                if(mode != Constants.Menuitem_modes.UNDEFINED)
                {
                        string modePrint = "";
@@ -2675,8 +2679,6 @@ public partial class ChronoJumpWindow
                        if(modePrint != "")
                                title += " - " + modePrint;
                }
-               if(sessionName != "")
-                       title += " - " + sessionName;
 
                if(preferences.debugMode)
                        title += " - DEBUG MODE";


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