diff --git a/app/attributes/attributecontroller.cpp b/app/attributes/attributecontroller.cpp index 4a3e7d4fa..ad008c6d2 100644 --- a/app/attributes/attributecontroller.cpp +++ b/app/attributes/attributecontroller.cpp @@ -1531,6 +1531,10 @@ void AttributeController::renamePhotos() mFeatureLayerPair.featureRef().setAttribute( item->fieldIndex(), newName ); expressionContext.setFeature( featureLayerPair().featureRef() ); } + else + { + CoreUtils::log( QStringLiteral( "Photo name format" ), QStringLiteral( "Could not rename file from %1 to %2" ).arg( src ).arg( dst ) ); + } } }