mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
25e51e968f
commit
08f4d07466
@ -132,7 +132,7 @@ class View:
|
|||||||
idx = spine.indexOf(self.currently_showing.name)
|
idx = spine.indexOf(self.currently_showing.name)
|
||||||
if idx < 0:
|
if idx < 0:
|
||||||
error_dialog(_('Missing file'), _(
|
error_dialog(_('Missing file'), _(
|
||||||
'Could not search as the spine item {} is missing from the book'.format(self.currently_showing.name)))
|
'Could not search as the spine item {} is missing from the book').format(self.currently_showing.name))
|
||||||
return
|
return
|
||||||
names = v'[]'
|
names = v'[]'
|
||||||
item_groups = [range(idx-1, -1, -1), range(spine.length-1, idx, -1)] if data.backwards else [range(idx + 1, spine.length), range(idx)]
|
item_groups = [range(idx-1, -1, -1), range(spine.length-1, idx, -1)] if data.backwards else [range(idx + 1, spine.length), range(idx)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user