diff --git a/src/core/symbology/qgslegendsymbolitem.cpp b/src/core/symbology/qgslegendsymbolitem.cpp index 2abc74905839..ef545020fef5 100644 --- a/src/core/symbology/qgslegendsymbolitem.cpp +++ b/src/core/symbology/qgslegendsymbolitem.cpp @@ -59,6 +59,7 @@ QgsLegendSymbolItem &QgsLegendSymbolItem::operator=( const QgsLegendSymbolItem & mScaleMaxDenom = other.mScaleMaxDenom; mLevel = other.mLevel; mParentKey = other.mParentKey; + mUserData = other.mUserData; return *this; }