[chronojump] On delete a jumpRj, realtime graph is cleared



commit f41968e29b30591f80ce08a2bde992a713e631ed
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Mar 7 12:31:00 2022 +0100

    On delete a jumpRj, realtime graph is cleared

 src/gui/app1/chronojump.cs | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index f9a4e039b..67bda7b86 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -6638,7 +6638,8 @@ LogB.Debug("mc finished 5");
                }
        }
        
-       private void on_delete_selected_jump_accepted (object o, EventArgs args) {
+       private void on_delete_selected_jump_accepted (object o, EventArgs args)
+       {
                LogB.Information("accept delete this jump");
                int id = myTreeViewJumps.EventSelectedID;
                
@@ -6673,7 +6674,8 @@ LogB.Debug("mc finished 5");
                }
        }
 
-       private void on_delete_selected_jump_rj_accepted (object o, EventArgs args) {
+       private void on_delete_selected_jump_rj_accepted (object o, EventArgs args)
+       {
                LogB.Information("accept delete this jump");
                int id = myTreeViewJumpsRj.EventSelectedID;
                
@@ -6695,6 +6697,9 @@ LogB.Debug("mc finished 5");
                }
 
                updateGraphJumpsReactive();
+
+               //blank also realtime graph
+               blankJumpReactiveRealtimeCaptureGraph ();
        }
        
        private void on_delete_selected_run_clicked (object o, EventArgs args) {


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