UI: Disable transition props menu when transitioning
When transitioning, the transitions properties menu would still be enabled.
This commit is contained in:
parent
e876ad6596
commit
90efc5c69c
1 changed files with 8 additions and 0 deletions
|
|
@ -1558,6 +1558,14 @@ void OBSBasic::EnableTransitionWidgets(bool enable)
|
|||
{
|
||||
ui->transitions->setEnabled(enable);
|
||||
|
||||
if (!enable) {
|
||||
ui->transitionProps->setEnabled(false);
|
||||
} else {
|
||||
bool configurable =
|
||||
obs_source_configurable(GetCurrentTransition());
|
||||
ui->transitionProps->setEnabled(configurable);
|
||||
}
|
||||
|
||||
if (!IsPreviewProgramMode())
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue