mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-28 15:21:37 +12:00
[BUG] Fix Settingsform does not open when option disabled cache main menu (#291), version 1.2.1.3
This commit is contained in:
parent
2242f2bc34
commit
8354e9fece
2 changed files with 10 additions and 3 deletions
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
|||
// 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")]
|
||||
|
|
|
@ -952,7 +952,14 @@ namespace SystemTrayMenu.UserInterface
|
|||
{
|
||||
if (e.Button == MouseButtons.Left)
|
||||
{
|
||||
SettingsForm.ShowSingleInstance(this);
|
||||
if (Properties.Settings.Default.CacheMainMenu)
|
||||
{
|
||||
SettingsForm.ShowSingleInstance(this);
|
||||
}
|
||||
else
|
||||
{
|
||||
SettingsForm.ShowSingleInstance(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue