Skip to content

Commit

Permalink
Correctly redraw canvas when applying project properties changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Jun 9, 2021
1 parent 191370a commit 8bec9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsprojectproperties.cpp
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit 8bec9ee

Please sign in to comment.