Wrong messagelist

This commit is contained in:
mailchuck 2015-11-01 11:09:58 +01:00
parent b8d2571b7f
commit c337f394e8
No known key found for this signature in database
GPG Key ID: B6311FA753FBF089

View File

@ -3083,7 +3083,7 @@ class MyForm(QtGui.QMainWindow):
sqlExecute('''UPDATE inbox SET folder='trash' WHERE msgid=?''', inventoryHashToTrash) sqlExecute('''UPDATE inbox SET folder='trash' WHERE msgid=?''', inventoryHashToTrash)
if tableWidget.item(currentRow, 0).font().bold(): if tableWidget.item(currentRow, 0).font().bold():
unread = True unread = True
self.ui.textEditInboxMessage.setText("") self.getCurrentMessageTextedit().setText("")
tableWidget.removeRow(currentRow) tableWidget.removeRow(currentRow)
self.statusBar().showMessage(_translate( self.statusBar().showMessage(_translate(
"MainWindow", "Moved items to trash.")) "MainWindow", "Moved items to trash."))