mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Make offline layer visible
This commit is contained in:
parent
323da1bed6
commit
ca55b21b3a
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user