Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
correct recognition of GPKG during save commit
  • Loading branch information
luipir committed Oct 9, 2017
1 parent 8364b8d commit 8b8d085
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -8008,7 +8008,8 @@ void QgisApp::saveEdits( QgsMapLayer *layer, bool leaveEditable, bool triggerRep
// Wait only if the current layer is in the rendering pool
if ( mMapCanvas->mapSettings().layers().contains( vlayer->id() ) )
{
if ( vlayer->dataProvider()->storageType().count( "SQLite" ) )
if ( vlayer->dataProvider()->storageType().count( "SQLite" ) ||
vlayer->dataProvider()->storageType().count( "GPKG" ) )
{
// notify wait the rendering end
if ( mMapCanvas->isDrawing() )
Expand Down

0 comments on commit 8b8d085

Please sign in to comment.