V0.6 #852

Merged
Atheros1 merged 399 commits from v0.6 into master 2016-05-03 01:58:38 +02:00
Showing only changes of commit 40f0ff381e - Show all commits

View File

@ -3976,6 +3976,7 @@ class MyForm(settingsmixin.SMainWindow):
def tableWidgetBlacklistItemChanged(self, item): def tableWidgetBlacklistItemChanged(self, item):
if item.column() == 0: if item.column() == 0:
addressitem = self.ui.tableWidgetBlacklist.item(item.row(), 1) addressitem = self.ui.tableWidgetBlacklist.item(item.row(), 1)
if isinstance(addressitem, QTableWidgetItem):
if self.ui.radioButtonBlacklist.isChecked(): if self.ui.radioButtonBlacklist.isChecked():
sqlExecute('''UPDATE blacklist SET label=? WHERE address=?''', sqlExecute('''UPDATE blacklist SET label=? WHERE address=?''',
str(item.text()), str(addressitem.text())) str(item.text()), str(addressitem.text()))