diff --git a/src/gui/symbology-ng/qgssvgselectorwidget.cpp b/src/gui/symbology-ng/qgssvgselectorwidget.cpp index 7f19e41ed30..ba70827477e 100644 --- a/src/gui/symbology-ng/qgssvgselectorwidget.cpp +++ b/src/gui/symbology-ng/qgssvgselectorwidget.cpp @@ -88,7 +88,10 @@ void QgsSvgSelectorLoader::loadPath( const QString &path ) if ( mCanceled ) return; - loadPath( svgPath ); + if ( !svgPath.isEmpty() ) + { + loadPath( svgPath ); + } } } else