We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 28a4830 commit 80e4494Copy full SHA for 80e4494
python/plugins/fTools/tools/doDefineProj.py
@@ -1,3 +1,4 @@
1
+# -*- coding: utf-8 -*-
2
from PyQt4.QtCore import *
3
from PyQt4.QtGui import *
4
@@ -69,6 +70,7 @@ def accept(self):
69
70
provider = vLayer.dataProvider()
71
self.progressBar.setValue(35)
72
inPath = provider.dataSourceUri()
73
+ inPath = inPath.remove( QRegExp( "\|.*" ) )
74
self.progressBar.setValue(40)
75
if inPath.endsWith(".shp"):
76
inPath = inPath.left(inPath.length() - 4)
0 commit comments