fix: 修正数据填充错误
This commit is contained in:
parent
6dfac9cc82
commit
4bada637bd
1 changed files with 2 additions and 4 deletions
|
@ -243,8 +243,6 @@ class CategoryTab(TabPage):
|
|||
for i in range(len(self.transData)):
|
||||
self.categoryTable.setItem(i, 0, QTableWidgetItem(self.transData[i][4].strftime("%Y-%m-%d %H:%M:%S")))
|
||||
self.categoryTable.setItem(i, 1, QTableWidgetItem(self.accountData[self.transData[i][1]-1][1]))
|
||||
if self.transData[i][2] is None:
|
||||
self.categoryTable.setItem(i, 2, QTableWidgetItem("None"))
|
||||
else:
|
||||
self.categoryTable.setItem(i, 2, QTableWidgetItem(self.categoryData[self.transData[i][2]-1][1]))
|
||||
self.categoryTable.setItem(i, 2, QTableWidgetItem(str(self.transData[i][5])))
|
||||
self.categoryTable.setItem(i, 3, QTableWidgetItem(self.transData[i][6]))
|
||||
|
||||
|
|
Loading…
Reference in a new issue