Skip to content

Commit 0c2b6ed

Browse files
author
cfarmer
committed
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
1 parent c7af95b commit 0c2b6ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/plugins/fTools/tools/doDefineProj.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def accept(self):
6464
outProj = self.txtProjection.text()
6565
srsDefine.createFromProj4(outProj)
6666
else:
67-
destLayer = self.getVectorLayerByName(self.cmbLayer.currentText())
67+
destLayer = ftools_utils.getVectorLayerByName(self.cmbLayer.currentText())
6868
srsDefine = destLayer.srs()
6969
if srsDefine == vLayer.srs():
7070
responce = QMessageBox.question(self, self.tr("Define current projection"),
@@ -123,4 +123,4 @@ def outProjFile(self):
123123
self.txtProjection.clear()
124124
self.txtProjection.insert(projString)
125125
else:
126-
return
126+
return

0 commit comments

Comments
 (0)