Skip to content
Permalink
Browse files

clean output proj file name, fixes: #2466

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12974 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer
cfarmer committed Feb 25, 2010
1 parent 28a4830 commit 80e449411c1e0b7f7c7c12de401885338dd5325c
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/fTools/tools/doDefineProj.py
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from PyQt4.QtCore import *
from PyQt4.QtGui import *

@@ -69,6 +70,7 @@ def accept(self):
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)

0 comments on commit 80e4494

Please sign in to comment.
You can’t perform that action at this time.