Skip to content

Commit

Permalink
Ensure EarlyUpdateCheck is still compatible with older versions of Ke…
Browse files Browse the repository at this point in the history
…ePass
  • Loading branch information
Rookiestyle committed Mar 20, 2022
1 parent 18047a2 commit cc3bd9c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ public Options()
cbKeePassInstallType.Items.Add(KeePass_Update.KeePassInstallType.MSI);
cbKeePassInstallType.Items.Add(KeePass_Update.KeePassInstallType.Portable);
lKeePassFolder.Text = KPRes.Folder + ":";
lKeePassInstallType.Text = KPRes.Type + ":";

var t = typeof(KPRes).GetProperty("Type");
if (t != null) lKeePassInstallType.Text = t.GetValue(null, null) + ":";
else lKeePassInstallType.Text = "Type:";
}

private void bUpdateTranslations_Click(object sender, EventArgs e)
Expand Down

0 comments on commit cc3bd9c

Please sign in to comment.