[chronojump] Fixed full unsensitivity on networks autologout when exercice config is opened



commit 9333b67cd04c1daf3e01b9a2cf4e294b3acf34b8
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Jan 14 15:19:52 2021 +0100

    Fixed full unsensitivity on networks autologout when exercice config is opened

 src/gui/networks.cs | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index 516c1966..0f6dc342 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -1049,7 +1049,13 @@ public partial class ChronoJumpWindow
 
                //close the encoder exercise config win if it was opened
                if(notebook_hpaned_encoder_or_exercise_config.CurrentPage == 1) 
//frame_encoder_exercise_config
+               {
+                       /*
+                          not only this:
                        notebook_hpaned_encoder_or_exercise_config.CurrentPage = 0;
+                       we need also to make menus_sensitive, ..., so do:*/
+                       encoder_exercise_show_hide (false);
+               }
 
                currentPerson = null;
                currentPersonSession = null;


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