We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 588a8fc commit 7b7c3e1Copy full SHA for 7b7c3e1
src/gui/qgsmapcanvas.h
@@ -277,6 +277,10 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
277
/**
278
* Sets a map \a theme to show in the canvas. The theme name must match
279
* a theme present in the associated project's QgsMapThemeCollection.
280
+ * If an empty string is passed then the current theme association will be
281
+ * cleared. The layers from the previously associated theme will remain
282
+ * in the canvas, and a call to setLayers() may be necessary to define
283
+ * which layers should be shown in the canvas.
284
* @note added in QGIS 3.0
285
* @see theme()
286
*/
0 commit comments