Skip to content

Commit 6f759a8

Browse files
committed
ignore empty SVG path (fix #15891)
1 parent 1f8c311 commit 6f759a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/gui/symbology-ng/qgssvgselectorwidget.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ void QgsSvgSelectorLoader::loadPath( const QString &path )
8888
if ( mCanceled )
8989
return;
9090

91-
loadPath( svgPath );
91+
if ( !svgPath.isEmpty() )
92+
{
93+
loadPath( svgPath );
94+
}
9295
}
9396
}
9497
else

0 commit comments

Comments
 (0)