Skip to content

Commit

Permalink
Fix default setting selection in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mike8699 committed Jan 29, 2024
1 parent 773b76a commit ef7b47f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ph_rando/ui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def _on_chbox_change(checkbox: QCheckBox, setting: str) -> None:
comboxbox = QComboBox()
comboxbox.addItems([inflection.titleize(s) for s in setting.choices])
comboxbox.setEnabled(setting.supported)
comboxbox.setCurrentText(setting.default)
internal_hbox.addWidget(comboxbox)
internal_hbox.addWidget(comboxbox_label)

Expand Down

0 comments on commit ef7b47f

Please sign in to comment.