Skip to content

Commit 6335de9

Browse files
committedNov 12, 2015
[GRASS] fixed cat shift when importing vectors via browser, fixes #13815
(cherry picked from commit fd9f0b5)
1 parent 5e1d420 commit 6335de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/grass/qgis.v.in.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ int main( int argc, char **argv )
307307
}
308308

309309
QgsAttributes attributes = feature.attributes();
310-
attributes.insert( 0, QVariant( feature.id() ) );
310+
attributes.insert( 0, QVariant( feature.id() + fidToCatPlus ) );
311311
try
312312
{
313313
// TODO: inserting row is extremely slow on Windows (at least with SQLite), v.in.ogr is fast

0 commit comments

Comments
 (0)
Please sign in to comment.