[chronojump] on new session, ensure currentPerson is null (not show previos currentPerson on top personSelectWin)



commit 6397bedb4ed6e303dd4f59dd6bc6f09f28060cdf
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jul 12 12:46:57 2021 +0200

    on new session, ensure currentPerson is null (not show previos currentPerson on top personSelectWin)

 src/gui/app1/chronojump.cs | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 0cf9b6355..83987b639 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -2678,6 +2678,9 @@ public partial class ChronoJumpWindow
                sensitiveGuiNoSession();
                sensitiveGuiYesSession();
 
+               sensitiveGuiNoPerson();
+               currentPerson = null;
+
                if( ! configChronojump.PersonWinHide) {
                        alignment_buttons_menu_and_persons.Visible = true;
                        //on_radio_show_persons_clicked (new object (), new EventArgs ());


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