[chronojump] JumpsRjFatigue graph gets blank if no data
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] JumpsRjFatigue graph gets blank if no data
- Date: Mon, 17 Aug 2020 16:29:51 +0000 (UTC)
commit aab13b162632760181fe99f1c92f1862e6b8b20a
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Aug 17 17:29:27 2020 +0100
JumpsRjFatigue graph gets blank if no data
src/gui/app1/jumpsRjFatigue.cs | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/gui/app1/jumpsRjFatigue.cs b/src/gui/app1/jumpsRjFatigue.cs
index 53f46a92..8e2b37cc 100644
--- a/src/gui/app1/jumpsRjFatigue.cs
+++ b/src/gui/app1/jumpsRjFatigue.cs
@@ -145,6 +145,9 @@ public partial class ChronoJumpWindow
drawingarea_jumps_rj_fatigue == null ||
drawingarea_jumps_rj_fatigue.GdkWindow == null || //it happens at start on click on analyze
comboSelectJumpsRjFatigueNum.GetSelectedId() < 0)
{
+ if(drawingarea_jumps_rj_fatigue != null && drawingarea_jumps_rj_fatigue.GdkWindow !=
null)
+ new JumpsRjFatigueGraph(drawingarea_jumps_rj_fatigue, "");
+
button_jumps_rj_fatigue_save_image.Sensitive = false;
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]