more comments on the mark unread implementation

This commit is contained in:
nimdahk 2013-07-25 23:56:38 -04:00
parent 43cbf69103
commit 5d2eb5ef1c

View File

@ -2280,7 +2280,7 @@ class MyForm(QtGui.QMainWindow):
# self.ui.tableWidgetInbox.selectRow(currentRow + 1) # self.ui.tableWidgetInbox.selectRow(currentRow + 1)
# This doesn't de-select the last message if you try to mark it unread, but that doesn't interfere. Might not be necessary. # This doesn't de-select the last message if you try to mark it unread, but that doesn't interfere. Might not be necessary.
# We could also select upwards, but then our problem would be with the topmost message. # We could also select upwards, but then our problem would be with the topmost message.
# Is there a way to deselect all rows? The Qt documentation does not indicate so. # self.ui.tableWidgetInbox.clearSelection() manages to mark the message as read again.
def on_action_InboxReply(self): def on_action_InboxReply(self):
currentInboxRow = self.ui.tableWidgetInbox.currentRow() currentInboxRow = self.ui.tableWidgetInbox.currentRow()