Update SelectForm.cs

This commit is contained in:
pointfeev 2021-11-30 11:58:04 -05:00
parent 7370decf56
commit 60512d73e7
No known key found for this signature in database
GPG key ID: AA14DC36C4D7D13C

View file

@ -177,9 +177,7 @@ namespace CreamInstaller
}
else if (appId > 0) return;
if (Program.Canceled) return;
if (string.IsNullOrWhiteSpace(name)) return;
if (Program.Canceled) return;
ProgramSelection selection = ProgramSelection.FromAppId(appId) ?? new();
selection.Name = name;