mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02: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.
(cherry picked from commit 10880d6b21
)
This commit is contained in:
parent
78085b38a8
commit
ee7557e14c
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user