[chronojump] On delete a runI, races graph and realtime graph are cleared
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] On delete a runI, races graph and realtime graph are cleared
- Date: Mon, 7 Mar 2022 12:04:31 +0000 (UTC)
commit 5a86632eff83ea315581c84996c215bd969c74f9
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Mar 7 12:31:27 2022 +0100
On delete a runI, races graph and realtime graph are cleared
src/gui/app1/chronojump.cs | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 67bda7b86..0fa614b44 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -6737,7 +6737,8 @@ LogB.Debug("mc finished 5");
}
}
- private void on_delete_selected_run_accepted (object o, EventArgs args) {
+ private void on_delete_selected_run_accepted (object o, EventArgs args)
+ {
LogB.Information("accept delete this race");
int id = myTreeViewRuns.EventSelectedID;
@@ -6761,7 +6762,8 @@ LogB.Debug("mc finished 5");
updateGraphRunsSimple();
}
- private void on_delete_selected_run_interval_accepted (object o, EventArgs args) {
+ private void on_delete_selected_run_interval_accepted (object o, EventArgs args)
+ {
LogB.Information("accept delete this race");
int id = myTreeViewRunsInterval.EventSelectedID;
@@ -6781,6 +6783,11 @@ LogB.Debug("mc finished 5");
//there's no currentRunInterval (no one done it now), then it crashed,
//but don't need to update widgets
}
+
+ updateGraphRunsInterval();
+
+ //blank also realtime graph
+ blankRunIntervalRealtimeCaptureGraph ();
}
private void on_delete_selected_reaction_time_clicked (object o, EventArgs args) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]