diff --git a/WGestures.App/Gui/Windows/SettingsFormController.cs b/WGestures.App/Gui/Windows/SettingsFormController.cs index 8cacd9e..f9ff2f0 100755 --- a/WGestures.App/Gui/Windows/SettingsFormController.cs +++ b/WGestures.App/Gui/Windows/SettingsFormController.cs @@ -115,7 +115,7 @@ public GlobalHotKeyManager.HotKey? PauseResumeHotkey _hotkeyMgr.UnRegisterHotKey(ConfigKeys.PauseResumeHotKey); } - _config.Set(ConfigKeys.PauseResumeHotKey, value == null ? null : value.Value.ToBytes()); + _config.Set(ConfigKeys.PauseResumeHotKey, value == null ? new byte[0] : value.Value.ToBytes()); OnPropertyChanged("PauseResumeHotKey"); }