Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Anna Petrasova <[email protected]>
  • Loading branch information
echoix and petrasovaa authored Oct 25, 2024
1 parent 1da060e commit b3b5044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/dbmgr/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1542,7 +1542,7 @@ def OnDataItemEdit(self, event):
column = tlist.columns[columnName[i]]
if len(values[i]) > 0:
try:
idx = i - 1 if missingKey is True else i
idx = i - 1 if missingKey else i

if column["ctype"] != str:
tlist.itemDataMap[item][idx] = column["ctype"](
Expand Down

0 comments on commit b3b5044

Please sign in to comment.