Skip to content

Commit

Permalink
Fixes for some panel items and settings upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
thezerothcat committed Apr 22, 2018
1 parent 61fc3ac commit 561d2f6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
22 changes: 10 additions & 12 deletions LaMulanaItemTrackerForm.cs
Expand Up @@ -330,24 +330,15 @@ private void SetStartingImage(String item)

if ("Vessel/Medicine".Equals(item))
{
if (!"shaded".Equals(Properties.Settings.Default.BackgroundMode))
{
vesselPanel.Controls.Remove(vessel);
}
vesselPanel.Controls.Remove(vessel);
}
if ("Lamp of Time".Equals(item))
{
if (!"shaded".Equals(Properties.Settings.Default.BackgroundMode))
{
lampOfTimePanel.Controls.Remove(lampOfTime);
}
lampOfTimePanel.Controls.Remove(lampOfTime);
}
if ("Woman Statue".Equals(item))
{
if (!"shaded".Equals(Properties.Settings.Default.BackgroundMode))
{
womanPanel.Controls.Remove(maternityStatue);
}
womanPanel.Controls.Remove(maternityStatue);
}
if ("Shield".Equals(item))
{
Expand Down Expand Up @@ -1706,6 +1697,9 @@ private void LaMulanaItemTrackerForm_Load(object sender, EventArgs e)
Properties.Settings.Default.Panel6Contents = Properties.Settings.Default.Panel6Contents.Replace("Hermes Boots", "Hermes' Boots").Replace("Glyph Reader", "reader.exe");
Properties.Settings.Default.Save();

// Fix the backup so we won't lose the upgraded settings on form close.
settingsBackup = new SettingsBackup();

updateAlwaysOnTop();
updateFormSize();
updateFormColor();
Expand Down Expand Up @@ -2989,6 +2983,10 @@ private System.Drawing.Bitmap getBlankImage(string flagName)
{
return global::LMRItemTracker.Properties.Resources.Icon_mantra_blank;
}
else if("w-soft-mantra-combo".Equals(flagName))
{
return global::LMRItemTracker.Properties.Resources.Icon_mantra_blank;
}
else if ("w-soft-torude".Equals(flagName))
{
return global::LMRItemTracker.Properties.Resources.Icon_torude_blank;
Expand Down
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Expand Up @@ -32,4 +32,4 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.13")]
[assembly: AssemblyVersion("1.0.14")]

0 comments on commit 561d2f6

Please sign in to comment.