mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-27 08:18:50 -04:00
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:
1 parent
9e39a2c787
commit
709ad0705e
1 file changed
+4
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user