Skip to content

Commit

Permalink
fix empty pause remuse hotkey problem
Browse files Browse the repository at this point in the history
  • Loading branch information
yingDev committed Feb 24, 2016
1 parent 223b5d2 commit 9a153bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WGestures.App/Gui/Windows/SettingsFormController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 9a153bd

Please sign in to comment.