fix another insignificant oversight
This commit is contained in:
parent
6ef3edf66a
commit
d8afcac1c3
2 changed files with 3 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
||||||
<UseWindowsForms>True</UseWindowsForms>
|
<UseWindowsForms>True</UseWindowsForms>
|
||||||
<ApplicationIcon>Resources\ini.ico</ApplicationIcon>
|
<ApplicationIcon>Resources\ini.ico</ApplicationIcon>
|
||||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||||
<Version>3.2.0.2</Version>
|
<Version>3.2.0.3</Version>
|
||||||
<PackageIcon>Resources\ini.ico</PackageIcon>
|
<PackageIcon>Resources\ini.ico</PackageIcon>
|
||||||
<PackageIconUrl />
|
<PackageIconUrl />
|
||||||
<Description />
|
<Description />
|
||||||
|
|
|
@ -205,12 +205,11 @@ internal partial class SelectForm : CustomForm
|
||||||
await task;
|
await task;
|
||||||
}
|
}
|
||||||
|
|
||||||
name = appData.name ?? name;
|
|
||||||
selection ??= new();
|
selection ??= new();
|
||||||
selection.Enabled = allCheckBox.Checked || selection.SelectedDlc.Any() || selection.ExtraDlc.Any();
|
selection.Enabled = allCheckBox.Checked || selection.SelectedDlc.Any() || selection.ExtraDlc.Any();
|
||||||
selection.Usable = true;
|
selection.Usable = true;
|
||||||
selection.Id = appId;
|
selection.Id = appId;
|
||||||
selection.Name = name;
|
selection.Name = appData.name ?? name;
|
||||||
selection.RootDirectory = directory;
|
selection.RootDirectory = directory;
|
||||||
selection.DllDirectories = dllDirectories;
|
selection.DllDirectories = dllDirectories;
|
||||||
selection.IsSteam = true;
|
selection.IsSteam = true;
|
||||||
|
@ -225,7 +224,7 @@ internal partial class SelectForm : CustomForm
|
||||||
if (Program.Canceled) return;
|
if (Program.Canceled) return;
|
||||||
TreeNode programNode = TreeNodes.Find(s => s.Name == appId) ?? new();
|
TreeNode programNode = TreeNodes.Find(s => s.Name == appId) ?? new();
|
||||||
programNode.Name = appId;
|
programNode.Name = appId;
|
||||||
programNode.Text = name;
|
programNode.Text = appData.name ?? name;
|
||||||
programNode.Checked = selection.Enabled;
|
programNode.Checked = selection.Enabled;
|
||||||
programNode.Remove();
|
programNode.Remove();
|
||||||
selectionTreeView.Nodes.Add(programNode);
|
selectionTreeView.Nodes.Add(programNode);
|
||||||
|
|
Loading…
Reference in a new issue