Skip to content
Permalink
Browse files

Fix offline layer name

  • Loading branch information
m-kuhn committed Sep 17, 2018
1 parent 6584fe7 commit 27aeaabc8aeed9f2ddd353c4fe67a4926e49de0c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsofflineediting.cpp
@@ -636,7 +636,7 @@ QgsVectorLayer *QgsOfflineEditing::copyVectorLayer( QgsVectorLayer *layer, sqlit
char **options = nullptr;

options = CSLSetNameValue( options, "OVERWRITE", "YES" );
options = CSLSetNameValue( options, "IDENTIFIER", layer->name().toUtf8().constData() );
options = CSLSetNameValue( options, "IDENTIFIER", tr( "%1 (offline)" ).arg( layer->name() ).toUtf8().constData() );
options = CSLSetNameValue( options, "DESCRIPTION", layer->dataComment().toUtf8().constData() );
#if 0
options = CSLSetNameValue( options, "FID", featureId.toUtf8().constData() );

0 comments on commit 27aeaab

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