[BUG] displays the error message "Couldn't register the hotkey" at launch (#102)

* do not show error when start
This commit is contained in:
Markus Hofknecht 2020-06-25 20:54:27 +02:00
parent 65d5aaf42e
commit d819e80f9f
2 changed files with 3 additions and 4 deletions

View file

@ -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);
}
}
}

View file

@ -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")]