File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ using QgsNativeMetadataValidator.
43
43
%ConvertToSubClassCode
44
44
if ( dynamic_cast< QgsLayerMetadata * >( sipCpp ) != NULL )
45
45
sipType = sipType_QgsLayerMetadata;
46
- else if ( dynamic_cast< QgsLayerMetadata * >( sipCpp ) != NULL )
46
+ else if ( dynamic_cast< QgsProjectMetadata * >( sipCpp ) != NULL )
47
47
sipType = sipType_QgsProjectMetadata;
48
48
else
49
49
sipType = NULL;
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class CORE_EXPORT QgsAbstractMetadataBase
57
57
SIP_CONVERT_TO_SUBCLASS_CODE
58
58
if ( dynamic_cast < QgsLayerMetadata * >( sipCpp ) != NULL )
59
59
sipType = sipType_QgsLayerMetadata;
60
- else if ( dynamic_cast < QgsLayerMetadata * >( sipCpp ) != NULL )
60
+ else if ( dynamic_cast < QgsProjectMetadata * >( sipCpp ) != NULL )
61
61
sipType = sipType_QgsProjectMetadata;
62
62
else
63
63
sipType = NULL ;
You can’t perform that action at this time.
0 commit comments