Skip to content
Permalink
Browse files
[qgsquick] Do not refresh/redraw map canvas when its settings are inv…
…alid
  • Loading branch information
nirvn committed Jun 27, 2021
1 parent 7894ec5 commit 790cd4b4d7836a216ef92ad31008b6b29f72b0bc
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/quickgui/qgsquickmapcanvasmap.cpp
@@ -98,6 +98,8 @@ void QgsQuickMapCanvasMap::refreshMap()
stopRendering(); // if any...

QgsMapSettings mapSettings = mMapSettings->mapSettings();
if ( !mapSettings.hasValidSettings() )
return;

//build the expression context
QgsExpressionContext expressionContext;

0 comments on commit 790cd4b

Please sign in to comment.