File tree 1 file changed +2
-4
lines changed
addon/globalPlugins/MathCAT
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def __init__(self, parent):
58
58
59
59
if "MathCATPreferencesLastCategory" in user_preferences :
60
60
# 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" ])
62
62
# show the appropriate dialogue page
63
63
self .m_simplebookPanelsCategories .SetSelection (self .m_listBoxPreferencesTopic .GetSelection ())
64
64
else :
@@ -309,9 +309,7 @@ def GetSpeechStyles(self, this_SpeechStyle: str):
309
309
self .m_choiceSpeechStyle .Clear ()
310
310
# get the currently selected language code
311
311
this_language_code = UserInterface .GetLanguageCode (self )
312
- log .info (
313
- f"\n this lang={ this_language_code } , getCurrentLanguage = { getCurrentLanguage ()} "
314
- )
312
+ # log.info(f"\nthis lang={this_language_code}, getCurrentLanguage = {getCurrentLanguage()}")
315
313
316
314
if this_language_code == "Auto" :
317
315
# list the speech styles for the current voice rather than have none listed
You can’t perform that action at this time.
0 commit comments