Skip to content
Permalink
Browse files

Fix some grammar

  • Loading branch information
nyalldawson committed Aug 7, 2017
1 parent 952b494 commit 7cebe7a34358bdef27183deb54ba42e21e57275c
@@ -63,7 +63,7 @@ create renderer from XML element
void setDataDefinedSizeLegend( QgsDataDefinedSizeLegend *settings /Transfer/ );
%Docstring
Configures appearance of legend when renderer is configured to use data-defined size for marker symbols.
This allow to configure for which values (symbol sizes) should be shown in the legend, whether to display
This allows configuring which values (symbol sizes) should be shown in the legend, whether to display
different symbol sizes collapsed in one legend node or separated across multiple legend nodes etc.

When renderer does not use data-defined size or does not use marker symbols, these settings will be ignored.
@@ -190,7 +190,7 @@ def setMinNumInputs(self, _minNumInputs):
return True

if _minNumInputs < 1 and not self.flags() & QgsProcessingParameterDefinition.FlagOptional:
# don't allow to set negative or null number of inputs if parameter isn't optional
# don't allow setting negative or null number of inputs if parameter isn't optional
return False

self.minNumInputs = int(_minNumInputs)
@@ -66,7 +66,7 @@ class CORE_EXPORT QgsSingleSymbolRenderer : public QgsFeatureRenderer

/**
* Configures appearance of legend when renderer is configured to use data-defined size for marker symbols.
* This allow to configure for which values (symbol sizes) should be shown in the legend, whether to display
* This allows configuring which values (symbol sizes) should be shown in the legend, whether to display
* different symbol sizes collapsed in one legend node or separated across multiple legend nodes etc.
*
* When renderer does not use data-defined size or does not use marker symbols, these settings will be ignored.

0 comments on commit 7cebe7a

Please sign in to comment.
You can’t perform that action at this time.