[chronojump] Networs person autologout will close the encoder exercise config



commit 0728b36b089fc33fb162efb292ab53b909dff768
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Oct 26 05:41:08 2020 +0100

    Networs person autologout will close the encoder exercise config

 src/gui/networks.cs | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index f17e0b17..4325bf38 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -1022,6 +1022,10 @@ public partial class ChronoJumpWindow
                        dialogPersonPopup.DestroyDialog();
                }
 
+               //close the encoder exercise config win if it was opened
+               if(notebook_hpaned_encoder_or_exercise_config.CurrentPage == 1) 
//frame_encoder_exercise_config
+                       notebook_hpaned_encoder_or_exercise_config.CurrentPage = 0;
+
                currentPerson = null;
                currentPersonSession = null;
                sensitiveGuiNoPerson ();


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