[chronojump] On delete selected jump/run/reactionTime capture graph is not blank now
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] On delete selected jump/run/reactionTime capture graph is not blank now
- Date: Thu, 7 Jul 2016 14:00:12 +0000 (UTC)
commit dee27560383bf30fd6012e17ae1e646769767cf1
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Jul 7 15:55:58 2016 +0200
On delete selected jump/run/reactionTime capture graph is not blank now
src/gui/chronojump.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 7d3f0cc..0d96cd5 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -5714,8 +5714,6 @@ LogB.Debug("X");
myTreeViewJumps.DelEvent(id);
showHideActionEventButtons(false, "Jump");
- updateGraphJumpsSimple();
-
if(createdStatsWin) {
stats_win_fillTreeView_stats(false, false);
}
@@ -5731,6 +5729,8 @@ LogB.Debug("X");
//there's no currentJump (no one jumped), then it crashed,
//but don't need to update widgets
}
+
+ updateGraphJumpsSimple();
//if auto mode, show last person/test again
if(execute_auto_doing) {
@@ -5805,8 +5805,6 @@ LogB.Debug("X");
myTreeViewRuns.DelEvent(id);
showHideActionEventButtons(false, "Run");
- updateGraphRunsSimple();
-
if(createdStatsWin) {
stats_win_fillTreeView_stats(false, false);
}
@@ -5818,6 +5816,8 @@ LogB.Debug("X");
//there's no currentRun (no one done it now), then it crashed,
//but don't need to update widgets
}
+
+ updateGraphRunsSimple();
}
private void on_delete_selected_run_interval_accepted (object o, EventArgs args) {
@@ -5869,8 +5869,6 @@ LogB.Debug("X");
myTreeViewReactionTimes.DelEvent(id);
showHideActionEventButtons(false, "ReactionTime");
- updateGraphReactionTimes();
-
Util.DeleteVideo(currentSession.UniqueID, Constants.TestTypes.RT, id );
try {
if(currentReactionTime.UniqueID == id)
@@ -5879,6 +5877,8 @@ LogB.Debug("X");
//there's no currentReactionTime (no one done it now), then it crashed,
//but don't need to update widgets
}
+
+ updateGraphReactionTimes();
}
private void on_delete_selected_pulse_clicked (object o, EventArgs args) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]