mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Also flatten the search highlights toggle button
This commit is contained in:
parent
dc8bac3b64
commit
f2e479cfbb
@ -230,6 +230,9 @@ class SearchBar(QFrame): # {{{
|
|||||||
_('Do Quick Search (you can also press the Enter key)'))
|
_('Do Quick Search (you can also press the Enter key)'))
|
||||||
|
|
||||||
x = parent.highlight_only_button = QToolButton(self)
|
x = parent.highlight_only_button = QToolButton(self)
|
||||||
|
x.setAutoRaise(True)
|
||||||
|
x.setText(_('Highlight'))
|
||||||
|
x.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||||
x.setIcon(QIcon(I('arrow-down.png')))
|
x.setIcon(QIcon(I('arrow-down.png')))
|
||||||
l.addWidget(x)
|
l.addWidget(x)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user