diff --git a/Switcheroo/OptionsWindow.xaml.cs b/Switcheroo/OptionsWindow.xaml.cs index 21c411b3..f7b89b8d 100644 --- a/Switcheroo/OptionsWindow.xaml.cs +++ b/Switcheroo/OptionsWindow.xaml.cs @@ -18,6 +18,7 @@ * along with Switcheroo. If not, see . */ +using System; using System.Text; using System.Windows; using System.Windows.Forms; @@ -42,7 +43,14 @@ public OptionsWindow() // Show what's already selected _hotkey = (HotKey)Application.Current.Properties["hotkey"]; - _hotkey.LoadSettings(); + + try + { + _hotkey.LoadSettings(); + } + catch (HotkeyAlreadyInUseException) + { + } _hotkeyViewModel = new HotkeyViewModel {