diff --git a/python/gui/auto_generated/qgstextformatwidget.sip.in b/python/gui/auto_generated/qgstextformatwidget.sip.in index 02933502a69..a8b337fc462 100644 --- a/python/gui/auto_generated/qgstextformatwidget.sip.in +++ b/python/gui/auto_generated/qgstextformatwidget.sip.in @@ -108,6 +108,7 @@ Constructor for QgsTextFormatWidget. :param mapCanvas: associated map canvas :param parent: parent widget :param mode: widget mode +:param layer: associated vector layer %End void updateWidgetForFormat( const QgsTextFormat &format ); diff --git a/src/gui/qgstextformatwidget.h b/src/gui/qgstextformatwidget.h index 9b76badc5eb..b632dad1424 100644 --- a/src/gui/qgstextformatwidget.h +++ b/src/gui/qgstextformatwidget.h @@ -118,6 +118,7 @@ class GUI_EXPORT QgsTextFormatWidget : public QWidget, public QgsExpressionConte * \param mapCanvas associated map canvas * \param parent parent widget * \param mode widget mode + * \param layer associated vector layer */ QgsTextFormatWidget( QgsMapCanvas *mapCanvas, QWidget *parent SIP_TRANSFERTHIS, Mode mode, QgsVectorLayer *layer = nullptr );