[chronojump] Encoder: Do not allow to change mode, person, and other buttons while loading a set



commit a4a73c946066dadebfc49a86ca2b35d2f05bb1a5
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Mar 3 13:14:44 2022 +0100

    Encoder: Do not allow to change mode, person, and other buttons while loading a set

 src/gui/app1/encoder.cs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index fc10c9d87..b8b8f3903 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -1774,6 +1774,8 @@ public partial class ChronoJumpWindow
 
                genericWin.HideAndNull();
 
+               sensitiveGuiEventDoing (false);
+
                ArrayList data = SqliteEncoder.Select(
                                false, uniqueID, currentPerson.UniqueID, currentSession.UniqueID, 
Constants.EncoderGI.ALL,
                                -1, "signal", EncoderSQL.Eccons.ALL, "",
@@ -1876,8 +1878,6 @@ public partial class ChronoJumpWindow
                        encoderCalculeCurves(encoderActions.LOAD);
                
                        radio_encoder_analyze_individual_current_set.Active = true;
-
-                       encoderButtonsSensitive(encoderSensEnumStored);
                }
        }
 
@@ -7382,7 +7382,7 @@ public partial class ChronoJumpWindow
                
                        //save video will be later at encoderSaveSignalOrCurve, because there 
encoderSignalUniqueID will be known
                        
-                       if(action == encoderActions.CURVES || action == encoderActions.CURVES_AC)
+                       if(action == encoderActions.CURVES || action == encoderActions.CURVES_AC || action == 
encoderActions.LOAD)
                                sensitiveGuiEventDone();
                        
                        if(encoderProcessCancel || encoderProcessProblems) {


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