This commit is contained in:
Charles Haley 2015-04-20 21:37:52 +02:00
parent 60af0674f4
commit ac9891cd41

View File

@ -41,7 +41,7 @@ class NameTableWidgetItem(QTableWidgetItem):
def setText(self, txt):
self.current_value = txt
QTableWidgetItem.setText(txt)
QTableWidgetItem.setText(self, txt)
def __ge__(self, other):
return sort_key(unicode(self.text())) >= sort_key(unicode(other.text()))