Skip to content
Permalink
Browse files

quick fix for problem when assigning crs of existing layer

git-svn-id: http://svn.osgeo.org/qgis/trunk@15151 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer
cfarmer committed Feb 10, 2011
1 parent a9a50ed commit 2868eea8dcf02721f1debdc441d752bb337d4143
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/fTools/tools/doDefineProj.py
@@ -64,7 +64,7 @@ def accept(self):
outProj = self.txtProjection.text()
srsDefine.createFromProj4(outProj)
else:
destLayer = self.getVectorLayerByName(self.cmbLayer.currentText())
destLayer = ftools_utils.getVectorLayerByName(self.cmbLayer.currentText())
srsDefine = destLayer.srs()
if srsDefine == vLayer.srs():
responce = QMessageBox.question(self, self.tr("Define current projection"),
@@ -123,4 +123,4 @@ def outProjFile(self):
self.txtProjection.clear()
self.txtProjection.insert(projString)
else:
return
return

0 comments on commit 2868eea

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