plugin loader fails if the plugin name is misspelled by user wanting to turn off
sdetweil opened this issue · 0 comments
sdetweil commented
after the user adds a plugin, then can create a position entry by adding a tab and typing in the name
but if they don't match the name exactly as it was (easy to do), then the code ASSUMES the plugin needs to be loaded
Expected Behavior
if disabled, the plugin should not be laoded
Current Behavior
the plugin is loaded
Possible Solution
lowercase the plugin names in the hash to avaoid this problem
Steps to Reproduce (for bugs)
- install 0.27
- add sams background image plugin (git clone https://github.com/sdetweil/backgroundImage while in plugin folder)
- restart sm,
- open config, fill in info for plugin config
- expand plugin Config section, hit plus
- add plugin name (all lower case)
- uncheck the Active checkbox
- hit submit
- the background should be black, shows pictures (if u got the links right)