From 75536d84856e5581dbc13dd4aa7d29ae2c39c578 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 5 Jan 2025 18:55:27 +0100 Subject: [PATCH] Fix setting the button combo in config menu --- src/config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.cpp b/src/config.cpp index c744c7a..248c137 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -162,6 +162,7 @@ void InitConfig() { DEBUG_FUNCTION_LINE_ERR("%s", errorMsg.c_str()); NotificationModule_AddErrorNotification(errorMsg.c_str()); } else { + gButtonComboHandle = buttonComboOpt->getHandle(); gButtonComboInstances.emplace_front(std::move(*buttonComboOpt)); if (comboStatus == WUPS_BUTTON_COMBO_COMBO_STATUS_CONFLICT) { const auto conflictMsg = "ScreenshotPlugin: Button combo was disabled due to a conflict with another combo. Please assign a different combo";