From 5d2eb5ef1cdeaaa894417823f0111ecf4657296e Mon Sep 17 00:00:00 2001 From: nimdahk Date: Thu, 25 Jul 2013 23:56:38 -0400 Subject: [PATCH] more comments on the mark unread implementation --- src/bitmessageqt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index 2008e7b1..96db1f92 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -2280,7 +2280,7 @@ class MyForm(QtGui.QMainWindow): # 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. # 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): currentInboxRow = self.ui.tableWidgetInbox.currentRow()