mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1491370 [pdf export has wrong file mask](https://bugs.launchpad.net/calibre/+bug/1491370)
This commit is contained in:
parent
1711ea048e
commit
850d54b121
@ -104,7 +104,7 @@ class PrintDialog(Dialog):
|
||||
return ans
|
||||
|
||||
def choose_file(self):
|
||||
ans = choose_save_file(self, self.OUTPUT_NAME, _('PDF file'), filters=[(_('PDF file'), 'pdf')],
|
||||
ans = choose_save_file(self, self.OUTPUT_NAME, _('PDF file'), filters=[(_('PDF file'), ['pdf'])],
|
||||
all_files=False, initial_filename=self.default_file_name)
|
||||
if ans:
|
||||
self.file_name.setText(ans)
|
||||
|
Loading…
x
Reference in New Issue
Block a user