|
@@ -263,6 +263,15 @@ void FilterChangeUndoRedo(void *vp, obs_data_t *nd_old_settings,
|
|
|
|
|
|
void OBSBasicFilters::UpdatePropertiesView(int row, bool async)
|
|
|
{
|
|
|
+ OBSSource filter = GetFilter(row, async);
|
|
|
+ if (filter && view && view->IsObject(filter)) {
|
|
|
+ /* do not recreate properties view if already using a view
|
|
|
+ * with the same object */
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ ui->propertiesFrame->setVisible(false);
|
|
|
+
|
|
|
if (view) {
|
|
|
updatePropertiesSignal.Disconnect();
|
|
|
ui->propertiesFrame->setVisible(false);
|
|
@@ -271,7 +280,6 @@ void OBSBasicFilters::UpdatePropertiesView(int row, bool async)
|
|
|
view = nullptr;
|
|
|
}
|
|
|
|
|
|
- OBSSource filter = GetFilter(row, async);
|
|
|
if (!filter)
|
|
|
return;
|
|
|
|