Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ignore empty SVG path (fix #15891)
(cherry picked from commit 6f759a8)
  • Loading branch information
alexbruy committed May 3, 2017
1 parent 6407e29 commit 0780756
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 ( mCancelled )
return;

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

0 comments on commit 0780756

Please sign in to comment.