(self)
| 3261 | self.click_pushButtonAddAddressBook() |
| 3262 | |
| 3263 | def on_action_AddressBookDelete(self): |
| 3264 | while self.ui.tableWidgetAddressBook.selectedIndexes() != []: |
| 3265 | currentRow = self.ui.tableWidgetAddressBook.selectedIndexes()[ |
| 3266 | 0].row() |
| 3267 | labelAtCurrentRow = self.ui.tableWidgetAddressBook.item( |
| 3268 | currentRow, 0).text().toUtf8() |
| 3269 | addressAtCurrentRow = self.ui.tableWidgetAddressBook.item( |
| 3270 | currentRow, 1).text() |
| 3271 | sqlExecute('''DELETE FROM addressbook WHERE label=? AND address=?''', |
| 3272 | str(labelAtCurrentRow), str(addressAtCurrentRow)) |
| 3273 | self.ui.tableWidgetAddressBook.removeRow(currentRow) |
| 3274 | self.rerenderMessagelistFromLabels() |
| 3275 | self.rerenderMessagelistToLabels() |
| 3276 | |
| 3277 | def on_action_AddressBookClipboard(self): |
| 3278 | fullStringOfAddresses = '' |
nothing calls this directly
no test coverage detected