diff --git a/src/gui/qgsattributeeditorcontext.h b/src/gui/qgsattributeeditorcontext.h index 5aa09acf6467..b1c2e6671007 100644 --- a/src/gui/qgsattributeeditorcontext.h +++ b/src/gui/qgsattributeeditorcontext.h @@ -195,7 +195,7 @@ class GUI_EXPORT QgsAttributeEditorContext * \see setFormFeature() * \since QGIS 3.2 */ - const QgsFeature formFeature() const { return mFormFeature; } + QgsFeature formFeature() const { return mFormFeature; } /** * Set current \a feature for the currently edited form or table row