V0.6 #852
|
@ -2994,8 +2994,8 @@ class MyForm(settingsmixin.SMainWindow):
|
|||
if not tableWidget.item(currentRow, 0).font().bold():
|
||||
modified += 1
|
||||
inventoryHashesToMarkUnread.append(inventoryHashToMarkUnread)
|
||||
tableWidget.item(currentRow, 0).setFont(font)
|
||||
tableWidget.item(currentRow, 1).setFont(font)
|
||||
tableWidget.item(currentRow, 0).setUnread(True)
|
||||
tableWidget.item(currentRow, 1).setUnread(True)
|
||||
tableWidget.item(currentRow, 2).setFont(font)
|
||||
tableWidget.item(currentRow, 3).setFont(font)
|
||||
#sqlite requires the exact number of ?s to prevent injection
|
||||
|
|
|
@ -284,13 +284,9 @@ class MessageList_AddressWidget(QtGui.QTableWidgetItem, AccountMixin, SettingsMi
|
|||
label = unicode(shared.config.get(self.address, 'label'), 'utf-8)')
|
||||
else:
|
||||
self.label = label
|
||||
if self.initialised:
|
||||
self.emitDataChanged()
|
||||
|
||||
def setUnread(self, unread):
|
||||
self.unread = unread
|
||||
if self.initialised:
|
||||
self.emitDataChanged()
|
||||
|
||||
def data(self, role):
|
||||
if role == QtCore.Qt.DisplayRole:
|
||||
|
|
Reference in New Issue
Block a user