Skip to content
Permalink
Browse files

When a new project is created, default to setting the metadata

author to the current logged on user name
  • Loading branch information
nyalldawson committed Mar 22, 2018
1 parent f435f62 commit 288bb1a872981074eaff349e67550acd48bb16ff
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsproject.cpp
@@ -511,6 +511,7 @@ void QgsProject::clear()
mCustomVariables.clear();
mMetadata = QgsProjectMetadata();
mMetadata.setCreationDateTime( QDateTime::currentDateTime() );
mMetadata.setAuthor( QgsApplication::userFullName() );
emit metadataChanged();

QgsCoordinateTransformContext context;

0 comments on commit 288bb1a

Please sign in to comment.
You can’t perform that action at this time.