"Mark Unread" in Inbox #335

Merged
nimdahk merged 8 commits from markUnread into master 2013-07-28 22:30:59 +02:00
Showing only changes of commit ddaa1413a6 - Show all commits

View File

@ -2277,7 +2277,10 @@ class MyForm(QtGui.QMainWindow):
shared.sqlLock.acquire()
shared.sqlSubmitQueue.put('commit')
shared.sqlLock.release()
self.ui.tableWidgetInbox.selectRow(currentRow + 1) # Hmm...
# 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.
def on_action_InboxReply(self):
currentInboxRow = self.ui.tableWidgetInbox.currentRow()