From 5f5b22004890bed9df604c25057d541385445b91 Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Sun, 6 Dec 2020 22:46:44 +1100 Subject: [PATCH] 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. --- UI/window-basic-main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index e0fe16e3..16a72764 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -2452,7 +2452,9 @@ void OBSBasic::ClearHotkeys() obs_hotkey_pair_unregister(recordingHotkeys); obs_hotkey_pair_unregister(pauseHotkeys); obs_hotkey_pair_unregister(replayBufHotkeys); + obs_hotkey_pair_unregister(vcamHotkeys); obs_hotkey_pair_unregister(togglePreviewHotkeys); + obs_hotkey_pair_unregister(contextBarHotkeys); obs_hotkey_unregister(forceStreamingStopHotkey); obs_hotkey_unregister(togglePreviewProgramHotkey); obs_hotkey_unregister(transitionHotkey); -- GitLab