Skip to content
Permalink
Browse files

Fix incorrect height shows for svg markers where the aspect ratio is …

…locked to default and source svg isn't square

(cherry picked from commit 2f2fb0b)
  • Loading branch information
nyalldawson committed Sep 11, 2020
1 parent 4941054 commit 5ef236f1733df6bab5bd8d1dde614103b94b3cff
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/symbology/qgssymbollayerwidget.cpp
@@ -2381,7 +2381,7 @@ void QgsSvgMarkerSymbolLayerWidget::setGuiForSvg( const QgsSvgMarkerSymbolLayer
spinHeight->blockSignals( true );
if ( preservedAspectRatio )
{
spinHeight->setValue( layer->size() );
spinHeight->setValue( layer->size() * layer->defaultAspectRatio() );
}
else
{

0 comments on commit 5ef236f

Please sign in to comment.
You can’t perform that action at this time.