@ -1618,7 +1618,7 @@ class receiveDataThread(QThread):
printLock.acquire()
print'Sending version message'
printLock.release()
self.sock.send(datatosend)
self.sock.sendall(datatosend)
#self.versionSent = 1
#Sends a verack message
@ -1696,7 +1696,7 @@ class sendDataThread(QThread):
printLock.acquire()
print'Sending version packet: ',repr(datatosend)
printLock.release()
self.sock.send(datatosend)
self.sock.sendall(datatosend)
self.versionSent=1
@ -4688,7 +4688,10 @@ class MyForm(QtGui.QMainWindow):
self.ui.tableWidgetInbox.removeRow(currentRow)
self.statusBar().showMessage('Moved items to trash. There is no user interface to view your trash, but it is still on disk if you are desperate to get it back.')
sqlSubmitQueue.put('commit')
self.ui.tableWidgetInbox.selectRow(currentRow)
ifcurrentRow==0:
self.ui.tableWidgetInbox.selectRow(currentRow)
else:
self.ui.tableWidgetInbox.selectRow(currentRow-1)
#Send item on the Sent tab to trash
defon_action_SentTrash(self):
@ -4705,6 +4708,11 @@ class MyForm(QtGui.QMainWindow):
self.ui.tableWidgetSent.removeRow(currentRow)
self.statusBar().showMessage('Moved items to trash. There is no user interface to view your trash, but it is still on disk if you are desperate to get it back.')