Skip to content

Commit 288bb1a

Browse files
committed
When a new project is created, default to setting the metadata
author to the current logged on user name
1 parent f435f62 commit 288bb1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/qgsproject.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ void QgsProject::clear()
511511
mCustomVariables.clear();
512512
mMetadata = QgsProjectMetadata();
513513
mMetadata.setCreationDateTime( QDateTime::currentDateTime() );
514+
mMetadata.setAuthor( QgsApplication::userFullName() );
514515
emit metadataChanged();
515516

516517
QgsCoordinateTransformContext context;

0 commit comments

Comments
 (0)