mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-11 00:09:04 -05:00
ensure that the correct expression context is set for the widget Otherwise we don't see any of the available variables ready for use in the calculation. We need to do this manually after creating the widget, because the context generator isn't set till after the widget is created, and this particular widget configuration doesn't fetch the expression context on demand.