doDefineProj.diff

Proposed patch - Alexander Bruy, 2010-02-24 10:45 AM

Download (549 Bytes)

View differences:

python/plugins/fTools/tools/doDefineProj.py (working copy)
69 69
					provider = vLayer.dataProvider()
70 70
					self.progressBar.setValue(35)
71 71
					inPath = provider.dataSourceUri()
72
					inPath = inPath.remove( QRegExp( "\|.*" ) )
72 73
					self.progressBar.setValue(40)
73 74
					if inPath.endsWith(".shp"):
74 75
						inPath = inPath.left(inPath.length() - 4)