[chronojump] Networks: fixed crash on autologout at analyze tab after clicking any button



commit 9a502cfd0aafb1d53a2eb4ad47b192908cfce0e1
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jul 15 11:50:26 2019 +0200

    Networks: fixed crash on autologout at analyze tab after clicking any button

 src/gui/chronojump.cs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index a220fac1..382579b1 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -7219,7 +7219,10 @@ LogB.Debug("mc finished 5");
                encoderButtonsSensitive(encoderSensEnum.NOPERSON);
                //don't cal personChanged because it will make changes on analyze repetitions and 
currentPerson == null
                //personChanged();
-               
+
+               if(notebook_encoder_sup.CurrentPage == 1)
+                       notebook_encoder_sup.CurrentPage = 0;
+
                notebook_execute.Sensitive = false;
                notebook_analyze.Sensitive = false;
                notebook_results.Sensitive = false;


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