remove useless tuple in tableWidgetInboxItemClicked, fixes #474
This commit is contained in:
parent
eff4edb8e8
commit
1eb7fc18d7
|
@ -2718,9 +2718,8 @@ class MyForm(QtGui.QMainWindow):
|
||||||
|
|
||||||
inventoryHash = str(self.ui.tableWidgetInbox.item(
|
inventoryHash = str(self.ui.tableWidgetInbox.item(
|
||||||
currentRow, 3).data(Qt.UserRole).toPyObject())
|
currentRow, 3).data(Qt.UserRole).toPyObject())
|
||||||
t = (inventoryHash,)
|
self.ubuntuMessagingMenuClear(inventoryHash)
|
||||||
self.ubuntuMessagingMenuClear(t)
|
sqlExecute('''update inbox set read=1 WHERE msgid=?''', inventoryHash)
|
||||||
sqlExecute('''update inbox set read=1 WHERE msgid=?''', *t)
|
|
||||||
|
|
||||||
def tableWidgetSentItemClicked(self):
|
def tableWidgetSentItemClicked(self):
|
||||||
currentRow = self.ui.tableWidgetSent.currentRow()
|
currentRow = self.ui.tableWidgetSent.currentRow()
|
||||||
|
|
Reference in New Issue
Block a user