Fix property

This commit is contained in:
Nyall Dawson 2025-03-21 07:48:49 +10:00
parent e46522fe0f
commit de079e9b14

View File

@ -34,7 +34,7 @@ class GUI_EXPORT QgsScaleMethodWidget : public QWidget
{
Q_OBJECT
public:
Q_PROPERTY( int scaleMethod READ scaleMethod WRITE setScaleMethod NOTIFY methodChanged )
Q_PROPERTY( Qgis::ScaleCalculationMethod scaleMethod READ scaleMethod WRITE setScaleMethod NOTIFY methodChanged )
//! Constructor for QgsScaleMethodWidget, with the specified \a parent widget
QgsScaleMethodWidget( QWidget *parent SIP_TRANSFERTHIS = nullptr );