[chronojump] On new/load session accept, fold session menu



commit 366a56eb95670dc1c39072b497fcd55dcbb639ff
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jul 20 18:48:24 2021 +0200

    On new/load session accept, fold session menu

 src/gui/app1/chronojump.cs | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index dc00cc6b5..0b8aab0b2 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -2716,6 +2716,9 @@ public partial class ChronoJumpWindow
                string feedbackLoadUsers = Catalog.GetString ("Session created, now add or load persons.");
                new DialogMessage(Constants.MessageTypes.INFO, feedbackLoadUsers);
 
+               //fold menu session
+               check_menu_session.Click();
+
                SqlitePreferences.Update(SqlitePreferences.LastSessionID, currentSession.UniqueID.ToString(), 
false);
        }
        
@@ -2813,6 +2816,9 @@ public partial class ChronoJumpWindow
                        arrow_manage_persons_down.Visible = false;
                }
 
+               //fold menu session
+               check_menu_session.Click();
+
                //update report
                report.SessionID = currentSession.UniqueID;
                report.StatisticsRemove();


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