From 7f9fda22846887d20cc4b7230971be9dd1e5d25e Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Tue, 2 Apr 2013 11:39:19 -0400 Subject: [PATCH] 12px font is good --- bitmessagemain.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bitmessagemain.py b/bitmessagemain.py index f4cf3d57..442acaec 100755 --- a/bitmessagemain.py +++ b/bitmessagemain.py @@ -3603,6 +3603,7 @@ class MyForm(QtGui.QMainWindow): newItem.setFlags( QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEnabled ) self.ui.tableWidgetInbox.setItem(0,3,newItem) #self.ui.textEditInboxMessage.setPlainText(self.ui.tableWidgetInbox.item(0,2).data(Qt.UserRole).toPyObject()) + self.ui.tableWidgetInbox.sortItems(3,Qt.DescendingOrder) self.ui.tableWidgetInbox.keyPressEvent = self.tableWidgetInboxKeyPressEvent #Load Sent items from database @@ -3665,6 +3666,7 @@ class MyForm(QtGui.QMainWindow): newItem.setData(33,int(lastactiontime)) newItem.setFlags( QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEnabled ) self.ui.tableWidgetSent.setItem(0,3,newItem) + self.ui.tableWidgetSent.sortItems(3,Qt.DescendingOrder) #Initialize the address book sqlSubmitQueue.put('SELECT * FROM addressbook') @@ -4651,7 +4653,7 @@ class MyForm(QtGui.QMainWindow): from_prefix = 'Message ostensibly from ' for i in xrange(len(lines)): if lines[i].find(from_prefix) != -1: - lines[i] = '

%s%s

' % (from_prefix,lines[i][24:-1]) + lines[i] = '

%s%s

' % (from_prefix,lines[i][24:-1]) elif lines[i] == '------------------------------------------------------': lines[i] = '
' content = '\n'.join(lines)