mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
814708da49
commit
d296ce1e68
@ -24,6 +24,7 @@ from calibre.utils.icu import (
|
|||||||
from calibre.utils.titlecase import titlecase
|
from calibre.utils.titlecase import titlecase
|
||||||
|
|
||||||
QT_HIDDEN_CLEAR_ACTION = '_q_qlineeditclearaction'
|
QT_HIDDEN_CLEAR_ACTION = '_q_qlineeditclearaction'
|
||||||
|
CHECK_MARK = '✓'
|
||||||
|
|
||||||
|
|
||||||
class NameTableWidgetItem(QTableWidgetItem):
|
class NameTableWidgetItem(QTableWidgetItem):
|
||||||
@ -543,7 +544,7 @@ class TagListEditor(QDialog, Ui_TagListEditor):
|
|||||||
self.table.setItem(row, self.LINK_COLUMN, item)
|
self.table.setItem(row, self.LINK_COLUMN, item)
|
||||||
|
|
||||||
if self.category is not None:
|
if self.category is not None:
|
||||||
self.table.setItem(row, self.NOTES_COLUMN, QTableWidgetItem('✓' if _id in all_items_that_have_notes else ''))
|
self.table.setItem(row, self.NOTES_COLUMN, QTableWidgetItem(CHECK_MARK if _id in all_items_that_have_notes else ''))
|
||||||
|
|
||||||
# re-sort the table
|
# re-sort the table
|
||||||
column = self.sort_names.index(self.last_sorted_by)
|
column = self.sort_names.index(self.last_sorted_by)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user