UI: Don't use deferred update on cancel
If properties are set to defer updating, don't call obs_source_update on dialog rejection.
This commit is contained in:
parent
9e39a2c787
commit
709ad0705e
@ -143,7 +143,10 @@ void OBSBasicProperties::on_buttonBox_clicked(QAbstractButton *button)
|
||||
obs_data_clear(settings);
|
||||
obs_data_release(settings);
|
||||
|
||||
obs_source_update(source, oldSettings);
|
||||
if (view->DeferUpdate())
|
||||
obs_data_apply(settings, oldSettings);
|
||||
else
|
||||
obs_source_update(source, oldSettings);
|
||||
|
||||
close();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user