mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ooops again: fix it right. Although I am no longer convinced that the qv plugin can be not installed/enabled.
This commit is contained in:
parent
312304d51c
commit
8162aa04a4
@ -589,7 +589,9 @@ class LayoutMixin(object): # {{{
|
|||||||
else:
|
else:
|
||||||
if x == 'gv':
|
if x == 'gv':
|
||||||
button = self.grid_view_button
|
button = self.grid_view_button
|
||||||
elif x == 'qv' and self.qv:
|
elif x == 'qv':
|
||||||
|
if self.qv is None:
|
||||||
|
continue
|
||||||
button = self.qv.qv_button
|
button = self.qv.qv_button
|
||||||
else:
|
else:
|
||||||
button = self.search_bar_button
|
button = self.search_bar_button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user