Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
quick fix for problem when assigning crs of existing layer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15151 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer committed Feb 10, 2011
1 parent c7af95b commit 0c2b6ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/fTools/tools/doDefineProj.py
Expand Up @@ -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"),
Expand Down Expand Up @@ -123,4 +123,4 @@ def outProjFile(self):
self.txtProjection.clear()
self.txtProjection.insert(projString)
else:
return
return

0 comments on commit 0c2b6ed

Please sign in to comment.