v4.0.2.1
- Unknown DLC are now disabled by default, and will not be affected by the "All" checkbox
This commit is contained in:
parent
2406a5048c
commit
0fe30cd966
2 changed files with 3 additions and 2 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>4.0.2.0</Version>
|
<Version>4.0.2.1</Version>
|
||||||
<PackageIcon>Resources\ini.ico</PackageIcon>
|
<PackageIcon>Resources\ini.ico</PackageIcon>
|
||||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||||
<Copyright>2021, pointfeev (https://github.com/pointfeev)</Copyright>
|
<Copyright>2021, pointfeev (https://github.com/pointfeev)</Copyright>
|
||||||
|
|
|
@ -264,7 +264,7 @@ internal partial class SelectForm : CustomForm
|
||||||
string appId = pair.Key;
|
string appId = pair.Key;
|
||||||
(DlcType type, string name, string icon) dlcApp = pair.Value;
|
(DlcType type, string name, string icon) dlcApp = pair.Value;
|
||||||
selection.AllDlc[appId] = dlcApp;
|
selection.AllDlc[appId] = dlcApp;
|
||||||
if (allCheckBox.Checked) selection.SelectedDlc[appId] = dlcApp;
|
if (allCheckBox.Checked && dlcApp.name != "Unknown") selection.SelectedDlc[appId] = dlcApp;
|
||||||
TreeNode dlcNode = treeNodes.Find(s => s.Tag is Platform.Steam && s.Name == appId) ?? new();
|
TreeNode dlcNode = treeNodes.Find(s => s.Tag is Platform.Steam && s.Name == appId) ?? new();
|
||||||
dlcNode.Tag = selection.Platform;
|
dlcNode.Tag = selection.Platform;
|
||||||
dlcNode.Name = appId;
|
dlcNode.Name = appId;
|
||||||
|
@ -583,6 +583,7 @@ internal partial class SelectForm : CustomForm
|
||||||
private static void SyncNodeDescendants(TreeNode node) =>
|
private static void SyncNodeDescendants(TreeNode node) =>
|
||||||
node.Nodes.Cast<TreeNode>().ToList().ForEach(childNode =>
|
node.Nodes.Cast<TreeNode>().ToList().ForEach(childNode =>
|
||||||
{
|
{
|
||||||
|
if (childNode.Text == "Unknown") return;
|
||||||
childNode.Checked = node.Checked;
|
childNode.Checked = node.Checked;
|
||||||
SyncNode(childNode);
|
SyncNode(childNode);
|
||||||
SyncNodeDescendants(childNode);
|
SyncNodeDescendants(childNode);
|
||||||
|
|
Loading…
Reference in a new issue