UI: Fix push-to-talk/mute delay not saving

Fixes a couple copy/paste errors preventing push-to-talk and push-to-mute delays
not saving when choosing Apply or OK.
master
Cody Jung 2022-01-07 23:12:31 -06:00 committed by Matt Gajownik
parent fab293a686
commit e7837e30ce
2 changed files with 2 additions and 2 deletions

View File

@ -2380,7 +2380,7 @@ void OBSBasicSettings::LoadAudioSources()
},
pttSB);
audioSources.emplace_back(OBSGetWeakRef(source), ptmCB, pttSB,
audioSources.emplace_back(OBSGetWeakRef(source), ptmCB, ptmSB,
pttCB, pttSB);
auto label = new OBSSourceLabel(source);

View File

@ -4572,7 +4572,7 @@ static void source_signal_push_to_delay(obs_source_t *source,
calldata_init_fixed(&data, stack, sizeof(stack));
calldata_set_ptr(&data, "source", source);
calldata_set_bool(&data, "delay", delay);
calldata_set_int(&data, "delay", delay);
signal_handler_signal(source->context.signals, signal, &data);
}