[chronojump] RaceAnalyzer fixed crash on load if no previous set has been loaded
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] RaceAnalyzer fixed crash on load if no previous set has been loaded
- Date: Tue, 26 Apr 2022 13:20:00 +0000 (UTC)
commit 8fd9e6b3cbc13265bdd20b2bf27eb1696904b78c
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Apr 26 15:19:30 2022 +0200
RaceAnalyzer fixed crash on load if no previous set has been loaded
src/gui/app1/runEncoder.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index ce175f7ed..8cbddc480 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -974,7 +974,8 @@ public partial class ChronoJumpWindow
genericWin.ShowEditRow(false);
//select row corresponding to current signal
- genericWin.SelectRowWithID(0, currentRunEncoder.UniqueID); //colNum, id
+ if(currentRunEncoder != null)
+ genericWin.SelectRowWithID(0, currentRunEncoder.UniqueID); //colNum, id
genericWin.VideoColumn = 6;
genericWin.CommentColumn = 7;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]