if templatedir == "":
return
- # get the output file path
- outputfile = PyQt4.QtGui.QFileDialog.getSaveFileName (self,
- lang.EXPORT_TITLE)
-
- if outputfile == "":
- return
-
# create a new exporter object
exp = exporter.BiaCVExporter ()
# set the template directory
exp.set_template_directory (unicode (templatedir.toUtf8(), "utf-8"))
+ # get the output file path
+ outputfile = PyQt4.QtGui.QFileDialog.getSaveFileName (self,
+ exp.exporter_name, filter=exp.export_filter)
+
+ if outputfile == "":
+ return
+
+
# set the output file
exp.set_output (unicode (outputfile.toUtf8(), "utf-8"))