From e02816b5eaa00ea49de1d9e04deb893f0ffd0f52 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Wed, 10 Apr 2013 14:56:32 -0400 Subject: [PATCH] fix address book delete entry --- bitmessagemain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitmessagemain.py b/bitmessagemain.py index 1396d36e..5fe3fc92 100755 --- a/bitmessagemain.py +++ b/bitmessagemain.py @@ -4734,8 +4734,8 @@ class MyForm(QtGui.QMainWindow): def on_action_AddressBookNew(self): self.click_pushButtonAddAddressBook() def on_action_AddressBookDelete(self): - while self.ui.tableWidgetInbox.selectedIndexes() != []: - currentRow = self.ui.tableWidgetInbox.selectedIndexes()[0].row() + while self.ui.tableWidgetAddressBook.selectedIndexes() != []: + currentRow = self.ui.tableWidgetAddressBook.selectedIndexes()[0].row() labelAtCurrentRow = self.ui.tableWidgetAddressBook.item(currentRow,0).text().toUtf8() addressAtCurrentRow = self.ui.tableWidgetAddressBook.item(currentRow,1).text() t = (str(labelAtCurrentRow),str(addressAtCurrentRow))