Skip to content
Permalink
Browse files

Make offline layer visible

  • Loading branch information
elpaso committed Jun 24, 2016
1 parent 323da1b commit ca55b21b3aedbb6778d9ec4cc349694ccf95db80
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/plugins/offline_editing/offline_editing_plugin.cpp
@@ -25,6 +25,7 @@
#include <qgsmaplayerregistry.h>
#include <qgsproject.h>
#include <qgsmessagebar.h>
#include <qgsmapcanvas.h>

#include <QAction>

@@ -111,6 +112,8 @@ void QgsOfflineEditingPlugin::convertProject()
if ( mOfflineEditing->convertToOfflineProject( myPluginGui->offlineDataPath(), myPluginGui->offlineDbFile(), selectedLayerIds ) )
{
updateActions();
// Redraw, to make the offline layer visible
mQGisIface->mapCanvas()->refreshAllLayers();
}
}

0 comments on commit ca55b21

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