mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
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.
This commit is contained in:
parent
fab293a686
commit
e7837e30ce
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user