UI: Prevent disabling replay buffer if it's active
parent
a1c3fbee64
commit
a94c0e055b
|
@ -4458,9 +4458,13 @@ void OBSBasicSettings::UpdateAutomaticReplayBufferCheckboxes()
|
|||
switch (ui->outputMode->currentIndex()) {
|
||||
case 0:
|
||||
state = ui->simpleReplayBuf->isChecked();
|
||||
ui->simpleReplayBuf->setEnabled(
|
||||
!obs_frontend_replay_buffer_active());
|
||||
break;
|
||||
case 1:
|
||||
state = ui->advReplayBuf->isChecked();
|
||||
ui->advReplayBuf->setEnabled(
|
||||
!obs_frontend_replay_buffer_active());
|
||||
break;
|
||||
}
|
||||
ui->replayWhileStreaming->setEnabled(state);
|
||||
|
|
Loading…
Reference in New Issue