We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent d6ec868 commit 8e980cfCopy full SHA for 8e980cf
src/app/qgsmaptoollabel.cpp
@@ -689,7 +689,11 @@ QgsMapToolLabel::LabelDetails::LabelDetails( const QgsLabelPosition& p )
689
if ( layer && layer->labeling() )
690
{
691
settings = layer->labeling()->settings( layer, pos.providerID );
692
- valid = settings.enabled;
+
693
+ if ( p.isDiagram )
694
+ valid = layer->diagramsEnabled();
695
+ else
696
+ valid = settings.enabled;
697
}
698
699
if ( !valid )
0 commit comments