Skip to content

Commit 5934f5d

Browse files
committed
fix typo
1 parent 279fbce commit 5934f5d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

addon/globalPlugins/MathCAT/MathCATPreferences.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(self, parent):
5858

5959
if "MathCATPreferencesLastCategory" in user_preferences:
6060
# set the categories selection to what we used on last run
61-
self.m_listBoxPreferencesTopic.SetSelectionuser_preferences(["MathCATPreferencesLastCategory"])
61+
self.m_listBoxPreferencesTopic.SetSelection(user_preferences["MathCATPreferencesLastCategory"])
6262
# show the appropriate dialogue page
6363
self.m_simplebookPanelsCategories.SetSelection(self.m_listBoxPreferencesTopic.GetSelection())
6464
else:
@@ -309,9 +309,7 @@ def GetSpeechStyles(self, this_SpeechStyle: str):
309309
self.m_choiceSpeechStyle.Clear()
310310
# get the currently selected language code
311311
this_language_code = UserInterface.GetLanguageCode(self)
312-
log.info(
313-
f"\nthis lang={this_language_code}, getCurrentLanguage = {getCurrentLanguage()}"
314-
)
312+
# log.info(f"\nthis lang={this_language_code}, getCurrentLanguage = {getCurrentLanguage()}")
315313

316314
if this_language_code == "Auto":
317315
# list the speech styles for the current voice rather than have none listed

0 commit comments

Comments
 (0)