Skip to content

Commit

Permalink
Add log when photo renaming could not copy file (#3590)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera authored Sep 24, 2024
1 parent deccd39 commit 5f1e91f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/attributes/attributecontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) );
}
}
}

Expand Down

1 comment on commit 5f1e91f

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.9.661311 just submitted!

Please sign in to comment.