Skip to content

Commit 0780756

Browse files
committed
ignore empty SVG path (fix #15891)
(cherry picked from commit 6f759a8)
1 parent 6407e29 commit 0780756

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/gui/symbology-ng/qgssvgselectorwidget.cpp

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

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

0 commit comments

Comments
 (0)