Skip to content
Permalink
Browse files
Fix default placement should not reset to interval mode
  • Loading branch information
nyalldawson committed Nov 12, 2021
1 parent 4690ed0 commit fbfa99236b89a55484099b6cb4109495ffe95975
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/symbology/qgslinesymbollayer.cpp
@@ -1570,9 +1570,9 @@ void QgsTemplatedLineSymbolLayerBase::setCommonProperties( QgsTemplatedLineSymbo
else
destLayer->setPlacements( Qgis::MarkerLinePlacement::Interval );
}
else
else if ( properties.contains( QStringLiteral( "placements" ) ) )
{
Qgis::MarkerLinePlacements placements = qgsFlagKeysToValue( properties.value( QStringLiteral( "placements" ) ).toString(), Qgis::MarkerLinePlacement::Interval );
Qgis::MarkerLinePlacements placements = qgsFlagKeysToValue( properties.value( QStringLiteral( "placements" ) ).toString(), Qgis::MarkerLinePlacements() );
destLayer->setPlacements( placements );
}

0 comments on commit fbfa992

Please sign in to comment.