[chronojump] button_video_play_this_test.Sensitive after jump, jumpRj



commit d0e64bca2e4ec7fabf911b20184b4f978739a50b
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jul 17 16:58:25 2018 +0200

    button_video_play_this_test.Sensitive after jump, jumpRj

 src/gui/chronojump.cs | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 306d4d1e..246c145a 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -4338,9 +4338,6 @@ public partial class ChronoJumpWindow
                        myTreeViewJumps.PersonWeight = currentPersonSession.Weight;
                        myTreeViewJumps.Add(currentPerson.Name, currentJump);
                        
-                       //since 0.7.4.1 when test is done, treeview select it. action event button have to be 
shown 
-                       showHideActionEventButtons(true, "Jump"); //show
-               
                        if(createdStatsWin) {
                                showUpdateStatsAndHideData(true);
                        }
@@ -4364,6 +4361,9 @@ public partial class ChronoJumpWindow
                if(! webcam.RecordEnd (currentSession.UniqueID, Constants.TestTypes.JUMP, 
currentJump.UniqueID))
                        new DialogMessage(Constants.MessageTypes.WARNING,
                                        Catalog.GetString("Sorry, video cannot be stored."));
+
+               //since 0.7.4.1 when test is done, treeview select it. action event button have to be shown
+               showHideActionEventButtons(true, "Jump"); //show
        }
 
        private void chronopicDisconnectedWhileExecuting() {
@@ -4638,9 +4638,6 @@ public partial class ChronoJumpWindow
                        myTreeViewJumpsRj.PersonWeight = currentPersonSession.Weight;
                        myTreeViewJumpsRj.Add(currentPerson.Name, currentJumpRj);
                        
-                       //since 0.7.4.1 when test is done, treeview select it. action event button have to be 
shown 
-                       showHideActionEventButtons(true, "JumpRj"); //show
-
                        if(createdStatsWin) {
                                showUpdateStatsAndHideData(true);
                        }
@@ -4664,6 +4661,10 @@ public partial class ChronoJumpWindow
                if(! webcam.RecordEnd (currentSession.UniqueID, Constants.TestTypes.JUMP_RJ, 
currentJumpRj.UniqueID))
                        new DialogMessage(Constants.MessageTypes.WARNING,
                                        Catalog.GetString("Sorry, video cannot be stored."));
+
+               //since 0.7.4.1 when test is done, treeview select it. action event button have to be shown
+               showHideActionEventButtons(true, "JumpRj"); //show
+
        }
 
        /* ---------------------------------------------------------


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