Skip to content

Commit

Permalink
fix inspector bug
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie-git committed Feb 8, 2022
1 parent 25d1c69 commit 398e0c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cardstock/propertyInspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ def SetValueForKey(self, key, valType):
self.SetCellValue(row, 1, val)

def SetValue(self, key, val):
self.data[key] = val
if key in self.data:
self.data[key] = val

def UpdateValues(self):
""" Update the values for the existing set of data. (Assumes keys and types have not changed.) """
Expand Down

0 comments on commit 398e0c7

Please sign in to comment.