diff --git a/src/Editor/PropertyEdit/CPropertyView.cpp b/src/Editor/PropertyEdit/CPropertyView.cpp index 167cde9a..299bae6f 100644 --- a/src/Editor/PropertyEdit/CPropertyView.cpp +++ b/src/Editor/PropertyEdit/CPropertyView.cpp @@ -324,7 +324,7 @@ void CPropertyView::EditPropertyTemplate() { QMainWindow* pParentWindow = UICommon::FindAncestor(this); CTemplateEditDialog Dialog(mpMenuProperty, pParentWindow); - connect(&Dialog, SIGNAL(PerformedTypeConversion()), this, SLOT(RefreshView())); + connect(&Dialog, &CTemplateEditDialog::PerformedTypeConversion, this, &CPropertyView::RefreshView); Dialog.exec(); }