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
  • Loading branch information
nyalldawson committed Aug 19, 2020
1 parent 2b6be63 commit 2f2fb0b32bcebd0fefa85e6957c969aeb20e7cb9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/symbology/qgssymbollayerwidget.cpp
@@ -2456,7 +2456,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 2f2fb0b

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