From 720f22e79f6a98a83f0f48f6e6c8f20ca32dda66 Mon Sep 17 00:00:00 2001 From: cadon Date: Sun, 17 Dec 2023 20:54:07 +0100 Subject: [PATCH] null fix --- ARKBreedingStats/Form1.library.cs | 6 +++--- ARKBreedingStats/Properties/AssemblyInfo.cs | 2 +- ARKBreedingStats/_manifest.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ARKBreedingStats/Form1.library.cs b/ARKBreedingStats/Form1.library.cs index 8a3dcc93..fa229742 100644 --- a/ARKBreedingStats/Form1.library.cs +++ b/ARKBreedingStats/Form1.library.cs @@ -2127,10 +2127,10 @@ private void toolStripMenuItemMutationColumns_CheckedChanged(object sender, Even /// private void ShowLibraryMutationLevels(bool show) { - listViewLibrary.BeginUpdate(); var widths = Properties.Settings.Default.columnWidths; - if (widths.Length < ColumnIndexFirstStat + 2 * Stats.StatsCount) return; - + if (widths == null || widths.Length < ColumnIndexFirstStat + 2 * Stats.StatsCount) return; + + listViewLibrary.BeginUpdate(); if (show) { for (int ci = ColumnIndexFirstStat + Stats.StatsCount; ci < ColumnIndexFirstStat + 2 * Stats.StatsCount; ci++) diff --git a/ARKBreedingStats/Properties/AssemblyInfo.cs b/ARKBreedingStats/Properties/AssemblyInfo.cs index 63e84dee..26655af6 100644 --- a/ARKBreedingStats/Properties/AssemblyInfo.cs +++ b/ARKBreedingStats/Properties/AssemblyInfo.cs @@ -30,6 +30,6 @@ // Revision // [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("0.59.3.1")] +[assembly: AssemblyFileVersion("0.59.3.2")] [assembly: NeutralResourcesLanguage("en")] diff --git a/ARKBreedingStats/_manifest.json b/ARKBreedingStats/_manifest.json index 2df2a8ac..76c8703b 100644 --- a/ARKBreedingStats/_manifest.json +++ b/ARKBreedingStats/_manifest.json @@ -4,7 +4,7 @@ "ARK Smart Breeding": { "Id": "ARK Smart Breeding", "Category": "main", - "version": "0.59.3.1" + "version": "0.59.3.2" }, "SpeciesColorImages": { "Id": "SpeciesColorImages",