Skip to content

Commit

Permalink
[GRASS] fixed cat shift when importing vectors via browser, fixes #13815
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Nov 12, 2015
1 parent 854ce17 commit fd9f0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/grass/qgis.v.in.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ int main( int argc, char **argv )
}

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

0 comments on commit fd9f0b5

Please sign in to comment.