提交 5f5b2200 编写于 作者: M Matt Gajownik

UI: Correctly unregister Virtual Camera & Source Toolbar hotkeys

Fixes an issue where the hotkey entries would be duplicated
(including in the UI hotkey list) on every Profile switch.
上级 fff45a41
...@@ -2452,7 +2452,9 @@ void OBSBasic::ClearHotkeys() ...@@ -2452,7 +2452,9 @@ void OBSBasic::ClearHotkeys()
obs_hotkey_pair_unregister(recordingHotkeys); obs_hotkey_pair_unregister(recordingHotkeys);
obs_hotkey_pair_unregister(pauseHotkeys); obs_hotkey_pair_unregister(pauseHotkeys);
obs_hotkey_pair_unregister(replayBufHotkeys); obs_hotkey_pair_unregister(replayBufHotkeys);
obs_hotkey_pair_unregister(vcamHotkeys);
obs_hotkey_pair_unregister(togglePreviewHotkeys); obs_hotkey_pair_unregister(togglePreviewHotkeys);
obs_hotkey_pair_unregister(contextBarHotkeys);
obs_hotkey_unregister(forceStreamingStopHotkey); obs_hotkey_unregister(forceStreamingStopHotkey);
obs_hotkey_unregister(togglePreviewProgramHotkey); obs_hotkey_unregister(togglePreviewProgramHotkey);
obs_hotkey_unregister(transitionHotkey); obs_hotkey_unregister(transitionHotkey);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册