mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 19:54:18 +02:00
Add ZIP and RAR to the input format order preferences. Fixes #5879 (Input Preference order to convert HTM(L) first is being ignored)
This commit is contained in:
parent
d4a72194e4
commit
6176b8d7ea
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ def __init__(self, parent, library_view, server=None,
|
||||||
|
|
||||||
input_map = prefs['input_format_order']
|
input_map = prefs['input_format_order']
|
||||||
all_formats = set()
|
all_formats = set()
|
||||||
for fmt in all_input_formats():
|
for fmt in all_input_formats().union(set(['ZIP', 'RAR'])):
|
||||||
all_formats.add(fmt.upper())
|
all_formats.add(fmt.upper())
|
||||||
for format in input_map + list(all_formats.difference(input_map)):
|
for format in input_map + list(all_formats.difference(input_map)):
|
||||||
item = QListWidgetItem(format, self.input_order)
|
item = QListWidgetItem(format, self.input_order)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue