mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Improve look of QLabel showing search count when restricted
This commit is contained in:
parent
4b39dbfcdd
commit
97c0a0e18c
@ -887,7 +887,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
|||||||
self.restriction_count_of_books_in_view = self.current_view().row_count()
|
self.restriction_count_of_books_in_view = self.current_view().row_count()
|
||||||
t = _("({0} of {1})").format(self.current_view().row_count(),
|
t = _("({0} of {1})").format(self.current_view().row_count(),
|
||||||
self.restriction_count_of_books_in_view)
|
self.restriction_count_of_books_in_view)
|
||||||
self.search_count.setStyleSheet('QLabel { background-color: yellow; }')
|
self.search_count.setStyleSheet('QLabel { border-radius: 8px; background-color: yellow; }')
|
||||||
else: # No restriction
|
else: # No restriction
|
||||||
if all == 'yes':
|
if all == 'yes':
|
||||||
t = _("(all books)")
|
t = _("(all books)")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user