Skip to content
Permalink
Browse files
Correctly redraw canvas when applying project properties changes
  • Loading branch information
nyalldawson authored and github-actions committed Jun 9, 2021
1 parent 191370a commit 8bec9ee18d74cc74a3c4be708eaaa3dffc9e8b99
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsprojectproperties.cpp
@@ -1556,7 +1556,7 @@ void QgsProjectProperties::apply()
//refresh canvases to reflect new properties, eg background color and scale bar after changing display units.
for ( QgsMapCanvas *canvas : constMapCanvases )
{
canvas->refresh();
canvas->redrawAllLayers();
}
}

0 comments on commit 8bec9ee

Please sign in to comment.