Remove selecting of next message.

It doesn't seem to be necessary, and it would always fail if there was only
one message in the inbox.
This commit is contained in:
Nimda 2013-07-25 22:10:22 -04:00
parent d3dfc5a0f7
commit ddaa1413a6

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()