Index: python/plugins/fTools/tools/doDefineProj.py =================================================================== --- python/plugins/fTools/tools/doDefineProj.py (revision 12961) +++ python/plugins/fTools/tools/doDefineProj.py (working copy) @@ -69,6 +69,7 @@ provider = vLayer.dataProvider() self.progressBar.setValue(35) inPath = provider.dataSourceUri() + inPath = inPath.remove( QRegExp( "\|.*" ) ) self.progressBar.setValue(40) if inPath.endsWith(".shp"): inPath = inPath.left(inPath.length() - 4)