Skip to content
Permalink
Browse files

Show a busy cursor while loading vector tile styles

  • Loading branch information
nyalldawson authored and nirvn committed Sep 15, 2020
1 parent 8e72b96 commit 746bc50f4acf184b731fa698ebd92e622b364b7d
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgisapp.cpp
@@ -2078,6 +2078,8 @@ void QgisApp::handleDropUriList( const QgsMimeDataUtils::UriList &lst )
}
else if ( u.layerType == QLatin1String( "vector-tile" ) )
{
QgsTemporaryCursorOverride busyCursor( Qt::WaitCursor );

QgsVectorTileLayer *layer = new QgsVectorTileLayer( uri, u.name );
bool ok = false;
layer->loadDefaultMetadata( ok );

0 comments on commit 746bc50

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