Skip to content

Commit

Permalink
Re #5630 fix problem with save button
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucet committed Jul 19, 2012
1 parent c84e412 commit 6c488a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def _create_ascii_clicked(self):
# return

#retrieve name of the output file
file_name = QtGui.QFileDialog.getOpenFileName(self, "Select or define a ASCII file name", "", "(*.txt)")
file_name = QtGui.QFileDialog.getSaveFileName(self, "Select or define a ASCII file name", "", "(*.txt)")
if (str(file_name).strip() == ''):
return

Expand Down

0 comments on commit 6c488a5

Please sign in to comment.