Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use first feature in layer to generate symbol preview icon in widget
Uses the first feature found in a layer in order to create a better preview for the symbol in the symbol selector dialog. This allows data defined settings to be evaluated correctly (at least, for the first feature) and avoids missing previews due to missing attribute values when data defined settings are present. Fixes #17061
- Loading branch information
1 parent
7701ea6
commit 23dc1c8
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters