Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
drfeinberg committed Apr 22, 2022
1 parent 0a5cc02 commit 659a608
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Voicelab/VoicelabWizard/SettingsTab.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,9 @@ def on_textchanged(self, new_text):
Args:
new_text:
"""

setting_type = type(self.default)
if new_text != "" and new_text != '-':
if new_text != "" and new_text != '-' and new_text != '.':
self.data_controller.set_settings(
self.fn_name, [self.name], [setting_type(new_text)]
)
Expand Down

0 comments on commit 659a608

Please sign in to comment.