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:
parent
d3dfc5a0f7
commit
ddaa1413a6
|
@ -2277,7 +2277,10 @@ class MyForm(QtGui.QMainWindow):
|
||||||
shared.sqlLock.acquire()
|
shared.sqlLock.acquire()
|
||||||
shared.sqlSubmitQueue.put('commit')
|
shared.sqlSubmitQueue.put('commit')
|
||||||
shared.sqlLock.release()
|
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):
|
def on_action_InboxReply(self):
|
||||||
currentInboxRow = self.ui.tableWidgetInbox.currentRow()
|
currentInboxRow = self.ui.tableWidgetInbox.currentRow()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user