[chronojump/FS-TFT-Menu] RaceAnalyzer fixed crash on load if no previous set has been loaded
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/FS-TFT-Menu] RaceAnalyzer fixed crash on load if no previous set has been loaded
- Date: Wed, 27 Apr 2022 17:18:04 +0000 (UTC)
commit 15b2a8b83de227b4b8f43e681e634443e10258ee
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]