Skip to content

Commit

Permalink
[BUG] Fix Settingsform does not open when option disabled cache main …
Browse files Browse the repository at this point in the history
…menu (#291), version 1.2.1.3
  • Loading branch information
Hofknecht committed Jan 9, 2022
1 parent 2242f2b commit 8354e9f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
// 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.2.1.2")]
[assembly: AssemblyFileVersion("1.2.1.2")]
[assembly: AssemblyVersion("1.2.1.3")]
[assembly: AssemblyFileVersion("1.2.1.3")]
9 changes: 8 additions & 1 deletion UserInterface/Menu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,14 @@ private void PictureBoxSettings_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
SettingsForm.ShowSingleInstance(this);
if (Properties.Settings.Default.CacheMainMenu)
{
SettingsForm.ShowSingleInstance(this);
}
else
{
SettingsForm.ShowSingleInstance(null);
}
}
}

Expand Down

0 comments on commit 8354e9f

Please sign in to comment.