UI: Unblock encoder comboboxes signals before change

Signals are blocked while encoder is enforced, those need to be
unblocked before setting the new encoder.
This commit is contained in:
tytan652 2023-01-25 22:01:31 +01:00 • committed by Jim
commit 10880d6b21

View file

@ -1481,6 +1481,7 @@ void OBSBasicSettings::ResetEncoders(bool streamOnly)
}
idx = ui->advOutEncoder->findData(lastAdvEnc);
s2.unblock();
ui->advOutEncoder->setCurrentIndex(idx);
}
@ -1494,6 +1495,7 @@ void OBSBasicSettings::ResetEncoders(bool streamOnly)
}
idx = ui->simpleOutStrEncoder->findData(lastEnc);
s1.unblock();
ui->simpleOutStrEncoder->setCurrentIndex(idx);
}
}