Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #4470 from alexbruy/ignore-empty-svg-path
ignore empty SVG path (fix #15891)
  • Loading branch information
alexbruy committed May 3, 2017
2 parents 85f3b81 + 6f759a8 commit fe7d49a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/symbology-ng/qgssvgselectorwidget.cpp
Expand Up @@ -88,7 +88,10 @@ void QgsSvgSelectorLoader::loadPath( const QString &path )
if ( mCanceled )
return;

loadPath( svgPath );
if ( !svgPath.isEmpty() )
{
loadPath( svgPath );
}
}
}
else
Expand Down

0 comments on commit fe7d49a

Please sign in to comment.