[QGIS-Developer] No refresh after removeMapLayer

Gary Sherman gsherman at geoapt.com
Sun Feb 18 08:44:06 PST 2018


From the console, using QgsProject.instance().removeMaplayer(my_layer) removes it from the legend tree, but doesn’t refresh the map canvas. Is this intended behavior or am I missing something?

QGIS master

-gary

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Founder, QGIS Project 
-Open Source GIS Books:
 *http://locatepress.com
-Geospatial Consulting & Hosting:
 *http://geoapt.com
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-








More information about the QGIS-Developer mailing list