|
|
@@ -1971,13 +1971,12 @@ void WidgetInfo::ButtonClicked()
|
|
|
}
|
|
|
return;
|
|
|
}
|
|
|
- if (view->rawObj || view->weakObj) {
|
|
|
- OBSObject strongObj = view->GetObject();
|
|
|
- void *obj = strongObj ? strongObj.Get() : view->rawObj;
|
|
|
- if (obs_property_button_clicked(property, obj)) {
|
|
|
- QMetaObject::invokeMethod(view, "RefreshProperties",
|
|
|
- Qt::QueuedConnection);
|
|
|
- }
|
|
|
+
|
|
|
+ OBSObject strongObj = view->GetObject();
|
|
|
+ void *obj = strongObj ? strongObj.Get() : view->rawObj;
|
|
|
+ if (obs_property_button_clicked(property, obj)) {
|
|
|
+ QMetaObject::invokeMethod(view, "RefreshProperties",
|
|
|
+ Qt::QueuedConnection);
|
|
|
}
|
|
|
}
|
|
|
|