mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-11 01:59:58 -04:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user