mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-20 19:30:31 +12:00
[BUG] displays the error message "Couldn't register the hotkey" at launch (#102)
* do not show error when start
This commit is contained in:
parent
65d5aaf42e
commit
d819e80f9f
|
@ -77,10 +77,9 @@ namespace SystemTrayMenu.Handler
|
|||
}
|
||||
catch (InvalidOperationException ex)
|
||||
{
|
||||
//Log.Error($"key:'{key}'", ex);
|
||||
Log.Warn($"key:'{Properties.Settings.Default.HotKey}'", ex);
|
||||
Properties.Settings.Default.HotKey = string.Empty;
|
||||
Properties.Settings.Default.Save();
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,5 +35,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("0.11.1.6")]
|
||||
[assembly: AssemblyFileVersion("0.11.1.6")]
|
||||
[assembly: AssemblyVersion("0.11.1.7")]
|
||||
[assembly: AssemblyFileVersion("0.11.1.7")]
|
||||
|
|
Loading…
Reference in a new issue