fix changelog sub-text

This commit is contained in:
pointfeev 2022-03-03 19:16:23 -05:00
parent fb0958c496
commit 40fe83c0b9
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ internal class CustomTreeView : TreeView
Font subFont = new(font.FontFamily, font.SizeInPoints, FontStyle.Regular, font.Unit, font.GdiCharSet, font.GdiVerticalFont); Font subFont = new(font.FontFamily, font.SizeInPoints, FontStyle.Regular, font.Unit, font.GdiCharSet, font.GdiVerticalFont);
string subText = node.Name; string subText = node.Name;
if (subText == "ParadoxLauncher") if (string.IsNullOrWhiteSpace(subText) || subText == "ParadoxLauncher" || subText[0] == 'v' && Version.TryParse(subText[1..], out _))
return; return;
Size subSize = TextRenderer.MeasureText(graphics, subText, subFont); Size subSize = TextRenderer.MeasureText(graphics, subText, subFont);

View file

@ -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.0.1.0</Version> <Version>3.0.1.1</Version>
<PackageIcon>Resources\ini.ico</PackageIcon> <PackageIcon>Resources\ini.ico</PackageIcon>
<PackageIconUrl /> <PackageIconUrl />
<Description /> <Description />