Fix setting the button combo in config menu

This commit is contained in:
Maschell 2025-01-05 18:55:27 +01:00
parent 16088a54d6
commit 75536d8485

View File

@ -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";