Data defined expressions with single number get lost #18354
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Expressions
Related to the QGIS expression engine or specific expression functions
Milestone
Author Name: Nyall Dawson (@nyalldawson)
Original Redmine Issue: 9823
Affected QGIS version: master
Redmine category:expressions
If I go into data defined properties for a symbol, and create an expression which contains only a single numeric value, eg "10", then this expression is immediately lost after clicking the OK button. A workaround is entering an expression such as "10+0", which is accepted by QGIS and retained.
I realise it's probably not that common to have a single constant value as an expression, but it should still be possible to do this.
The text was updated successfully, but these errors were encountered: