Skip to content
Permalink
Browse files
Show main annotation layer as an option in map layer styling dock layer
combo
  • Loading branch information
nyalldawson committed Sep 6, 2021
1 parent 3f977b5 commit ae2c83d4b29ccfe13904f8cc736a7905feebd38c
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgslayerstylingwidget.cpp
@@ -53,6 +53,7 @@
#include "qgsrasterminmaxwidget.h"
#include "qgisapp.h"
#include "qgssymbolwidgetcontext.h"
#include "qgsannotationlayer.h"

#ifdef HAVE_3D
#include "qgsvectorlayer3drendererwidget.h"
@@ -109,6 +110,7 @@ QgsLayerStylingWidget::QgsLayerStylingWidget( QgsMapCanvas *canvas, QgsMessageBa
| QgsMapLayerProxyModel::Filter::VectorTileLayer
| QgsMapLayerProxyModel::Filter::PointCloudLayer
| QgsMapLayerProxyModel::Filter::AnnotationLayer );
mLayerCombo->setAdditionalLayers( { QgsProject::instance()->mainAnnotationLayer() } );

mStackedWidget->setCurrentIndex( 0 );
}

0 comments on commit ae2c83d

Please sign in to comment.