mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix for bug #1446318.
This commit is contained in:
parent
60af0674f4
commit
ac9891cd41
@ -41,7 +41,7 @@ class NameTableWidgetItem(QTableWidgetItem):
|
|||||||
|
|
||||||
def setText(self, txt):
|
def setText(self, txt):
|
||||||
self.current_value = txt
|
self.current_value = txt
|
||||||
QTableWidgetItem.setText(txt)
|
QTableWidgetItem.setText(self, txt)
|
||||||
|
|
||||||
def __ge__(self, other):
|
def __ge__(self, other):
|
||||||
return sort_key(unicode(self.text())) >= sort_key(unicode(other.text()))
|
return sort_key(unicode(self.text())) >= sort_key(unicode(other.text()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user