From d8afcac1c3c804378fb23b9588655ce553684064 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Sun, 6 Mar 2022 21:16:41 -0500 Subject: [PATCH] fix another insignificant oversight --- CreamInstaller/CreamInstaller.csproj | 2 +- CreamInstaller/SelectForm.cs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CreamInstaller/CreamInstaller.csproj b/CreamInstaller/CreamInstaller.csproj index 99de71f..3a6510d 100644 --- a/CreamInstaller/CreamInstaller.csproj +++ b/CreamInstaller/CreamInstaller.csproj @@ -5,7 +5,7 @@ True Resources\ini.ico true - 3.2.0.2 + 3.2.0.3 Resources\ini.ico diff --git a/CreamInstaller/SelectForm.cs b/CreamInstaller/SelectForm.cs index 66b1029..f36a0dd 100644 --- a/CreamInstaller/SelectForm.cs +++ b/CreamInstaller/SelectForm.cs @@ -205,12 +205,11 @@ internal partial class SelectForm : CustomForm await task; } - name = appData.name ?? name; selection ??= new(); selection.Enabled = allCheckBox.Checked || selection.SelectedDlc.Any() || selection.ExtraDlc.Any(); selection.Usable = true; selection.Id = appId; - selection.Name = name; + selection.Name = appData.name ?? name; selection.RootDirectory = directory; selection.DllDirectories = dllDirectories; selection.IsSteam = true; @@ -225,7 +224,7 @@ internal partial class SelectForm : CustomForm if (Program.Canceled) return; TreeNode programNode = TreeNodes.Find(s => s.Name == appId) ?? new(); programNode.Name = appId; - programNode.Text = name; + programNode.Text = appData.name ?? name; programNode.Checked = selection.Enabled; programNode.Remove(); selectionTreeView.Nodes.Add(programNode);