View Single Post
Old 03-07-2012, 05:11 AM   #3511
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
You can't 'call' an option using onSettingsChanged. onSettingsChanged itself is called by Core.settings after changing the option - and the setting is saved by Core.settings as well. To properly 'call' an option, you have jump to a temporary setting node, like is done in the ChangeEpubCSS action. Alternatively, you can have your action change the option value directly, and then call Core.settings.saveOptions(addon).
quisvir is offline   Reply With Quote