(self)
| 3235 | currentRow if currentRow == 0 else currentRow - 1) |
| 3236 | |
| 3237 | def on_action_ForceSend(self): |
| 3238 | currentRow = self.ui.tableWidgetInbox.currentRow() |
| 3239 | addressAtCurrentRow = self.ui.tableWidgetInbox.item( |
| 3240 | currentRow, 0).data(QtCore.Qt.UserRole) |
| 3241 | toRipe = decodeAddress(addressAtCurrentRow)[3] |
| 3242 | sqlExecute( |
| 3243 | '''UPDATE sent SET status='forcepow' WHERE toripe=? AND status='toodifficult' and folder='sent' ''', |
| 3244 | toRipe) |
| 3245 | queryreturn = sqlQuery('''select ackdata FROM sent WHERE status='forcepow' ''') |
| 3246 | for row in queryreturn: |
| 3247 | ackdata, = row |
| 3248 | queues.UISignalQueue.put(('updateSentItemStatusByAckdata', ( |
| 3249 | ackdata, 'Overriding maximum-difficulty setting. Work queued.'))) |
| 3250 | queues.workerQueue.put(('sendmessage', '')) |
| 3251 | |
| 3252 | def on_action_SentClipboard(self): |
| 3253 | currentRow = self.ui.tableWidgetInbox.currentRow() |
nothing calls this directly
no test coverage detected