Skip to content

Commit

Permalink
fix #3450
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@15342 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
brushtyler committed Mar 5, 2011
1 parent c85fe42 commit eda85f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/GdalTools/tools/doGrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def getArguments(self):
return arguments

def getInputFileName(self):
#if self.inputLayerCombo.currentIndex() >= 0:
# return self.layers[self.inputLayerCombo.currentIndex()].source()
if self.inputLayerCombo.currentIndex() >= 0:
return self.layers[self.inputLayerCombo.currentIndex()].source()
return self.inputLayerCombo.currentText()

def getOutputFileName(self):
Expand Down

0 comments on commit eda85f1

Please sign in to comment.