Skip to content

Commit f44c52e

Browse files
committed
update the process to update settings in the ring.
1 parent 55a6fa0 commit f44c52e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

addon/globalPlugins/synthRingSettingsSelector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Released under GPL 2
66
#globalPlugins/synthRingSettingsSelector.py
77

8-
import config, globalPluginHandler, gui, synthDriverHandler, wx, addonHandler
8+
import config, globalPluginHandler, globalVars, gui, synthDriverHandler, wx, addonHandler
99

1010
addonHandler.initTranslation()
1111

@@ -30,7 +30,7 @@ def setAvailableSettings():
3030
if synthDriverHandler._curSynth:
3131
for s in synthDriverHandler._curSynth.supportedSettings:
3232
s.availableInSettingsRing = True if s.id in config.conf['synthRingSettingsSelector']['availableSettings'] else False
33-
synthDriverHandler._curSynth.initSettings()
33+
if globalVars.settingsRing: globalVars.settingsRing.updateSupportedSettings(synthDriverHandler._curSynth)
3434

3535
class SynthRingSettingsSelectorSettingsPanel(gui.SettingsPanel):
3636
# Translators: This is the label for the Synth ring settings selector settings category in NVDA Settings screen.

buildVars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
2020
"addon_description" : _("""This add-on allows the user to select which settings should appear on the synth settings ring."""),
2121
# version
22-
"addon_version" : "0.1",
22+
"addon_version" : "0.2",
2323
# Author(s)
2424
"addon_author" : u"David CM <[email protected]>",
2525
# URL for the add-on documentation support

0 commit comments

Comments
 (0)