fix teaching settings

This commit is contained in:
Sander Land committed 2020-08-05 20:30:56 +02:00
1 parent dc420f366f
commit 5f9e1e6574
13 files changed
+10 -6

No files matched your search

+4
View File
@@ -277,6 +277,10 @@ class ConfigTeacherPopup(QuickConfigGui):
self.themes_spinner.value_refs = list(EVAL_COLORS.keys())
self.options_grid.clear_widgets()
for k in ["dot color","point loss threshold","num undos","show dots","save dots"]:
self.options_grid.add_widget(DescriptionLabel(text=i18n._(k)))
for i, (color, threshold, undo, show_dot, savesgf) in enumerate(
zip(EVAL_COLORS[theme], thresholds, undos, show_dots, savesgfs)
):