Skip to content
Permalink
Browse files

save file instead of open it in select output file dialog

  • Loading branch information
brushtyler authored and timlinux committed May 10, 2011
1 parent e6992bc commit 14556360b149a3b8ca02efa1ff144ce9ff0bf044
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/GdalTools/tools/doContour.py
@@ -52,7 +52,7 @@ def fillInputFileEdit(self):
def fillOutputFileEdit(self):
if not self.useDirAsOutput:
lastUsedFilter = Utils.FileFilter.lastUsedVectorFilter()
outputFile, encoding = Utils.FileDialog.getOpenFileName(self, self.tr( "Select where to save the Contour output" ), Utils.FileFilter.allVectorsFilter(), lastUsedFilter, True)
outputFile, encoding = Utils.FileDialog.getSaveFileName(self, self.tr( "Select where to save the Contour output" ), Utils.FileFilter.allVectorsFilter(), lastUsedFilter, True)
else:
outputFile, encoding = Utils.FileDialog.getExistingDirectory(self, self.tr( "Select where to save the Contour output" ), True)

0 comments on commit 1455636

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