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


(cherry picked from commit fd9f0b5)
  • Loading branch information
blazek committed Nov 12, 2015
1 parent 5e1d420 commit 6335de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/grass/qgis.v.in.cpp
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 6335de9

Please sign in to comment.