mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Edit book: Fix a regression in the previous release that caused the completion popups used in the search panel to not render multiple entries correctly.
This commit is contained in:
parent
276c26ff26
commit
eed32b595e
@ -97,6 +97,7 @@ class HistoryBox(HistoryComboBox):
|
|||||||
self.clear_msg = clear_msg
|
self.clear_msg = clear_msg
|
||||||
self.ignore_snip_expansion = False
|
self.ignore_snip_expansion = False
|
||||||
self.lineEdit().setClearButtonEnabled(True)
|
self.lineEdit().setClearButtonEnabled(True)
|
||||||
|
self.set_uniform_item_sizes(False)
|
||||||
|
|
||||||
def event(self, ev):
|
def event(self, ev):
|
||||||
if ev.type() in (ev.ShortcutOverride, ev.KeyPress) and ev.key() == KEY and ev.modifiers() & MODIFIER:
|
if ev.type() in (ev.ShortcutOverride, ev.KeyPress) and ev.key() == KEY and ev.modifiers() & MODIFIER:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user