We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7af95b commit 0c2b6edCopy full SHA for 0c2b6ed
python/plugins/fTools/tools/doDefineProj.py
@@ -64,7 +64,7 @@ def accept(self):
64
outProj = self.txtProjection.text()
65
srsDefine.createFromProj4(outProj)
66
else:
67
- destLayer = self.getVectorLayerByName(self.cmbLayer.currentText())
+ destLayer = ftools_utils.getVectorLayerByName(self.cmbLayer.currentText())
68
srsDefine = destLayer.srs()
69
if srsDefine == vLayer.srs():
70
responce = QMessageBox.question(self, self.tr("Define current projection"),
@@ -123,4 +123,4 @@ def outProjFile(self):
123
self.txtProjection.clear()
124
self.txtProjection.insert(projString)
125
126
- return
+ return
0 commit comments