Browse Source

UI: Unregister file splitting hotkey when clearing hotkeys

gxalpha 3 years ago
parent
commit
a1e8075fba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      UI/window-basic-main.cpp

+ 1 - 0
UI/window-basic-main.cpp

@@ -2606,6 +2606,7 @@ void OBSBasic::ClearHotkeys()
 	obs_hotkey_pair_unregister(streamingHotkeys);
 	obs_hotkey_pair_unregister(recordingHotkeys);
 	obs_hotkey_pair_unregister(pauseHotkeys);
+	obs_hotkey_unregister(splitFileHotkey);
 	obs_hotkey_pair_unregister(replayBufHotkeys);
 	obs_hotkey_pair_unregister(vcamHotkeys);
 	obs_hotkey_pair_unregister(togglePreviewHotkeys);