Skip to content

Commit

Permalink
ignore empty SVG path (fix #15891)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed May 1, 2017
1 parent 1f8c311 commit 6f759a8
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 6f759a8

Please sign in to comment.