mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
d826a5de73
@ -486,7 +486,8 @@ class TBHierarchicalFields(DisplayedFields): # {{{
|
|||||||
|
|
||||||
def initialize(self, use_defaults=False, pref_data_override=None):
|
def initialize(self, use_defaults=False, pref_data_override=None):
|
||||||
tv = self.gui.tags_view
|
tv = self.gui.tags_view
|
||||||
cats = [k for k in tv.model().categories.keys() if k not in self.cant_make_hierarical]
|
cats = [k for k in tv.model().categories.keys() if (not k.startswith('@') and
|
||||||
|
k not in self.cant_make_hierarical)]
|
||||||
ans = []
|
ans = []
|
||||||
if use_defaults:
|
if use_defaults:
|
||||||
ans = [[k, False] for k in cats]
|
ans = [[k, False] for k in cats]
|
||||||
|
@ -1685,7 +1685,8 @@ and 'Mystery.Thriller' will be displayed with English and Thriller
|
|||||||
both under 'Mystery'. If 'tags' is not checked
|
both under 'Mystery'. If 'tags' is not checked
|
||||||
then the tags will be displayed each on their own line.</p>
|
then the tags will be displayed each on their own line.</p>
|
||||||
<p>The categories 'authors', 'publisher', 'news', 'formats', and 'rating'
|
<p>The categories 'authors', 'publisher', 'news', 'formats', and 'rating'
|
||||||
cannot be hierarchical.</p></string>
|
cannot be hierarchical.</p>
|
||||||
|
<p>User categories are always hierarchical and so do not appear in this list.</p></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Select categories with &hierarchical items:</string>
|
<string>Select categories with &hierarchical items:</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user