Skip to content

Commit

Permalink
fix: return str value for OptionItem to save
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Dec 12, 2023
1 parent 5bccf04 commit ca61b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion termtyper/ui/widgets/option.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, setting_name: str, options: List[str]):

@property
def value(self):
return self.options[self._value]
return self.options[self._value].value

def update_highlight(self):
for i, option in enumerate(self.options):
Expand Down

0 comments on commit ca61b4b

Please sign in to comment.