In validatePrefsConfigUi(), I test for
- Code: Select all
len(THING) == 0
- Code: Select all
self.pluginPrefs.get('THING', None)
If a user opens the plugin config dialog and deletes THING, they can save out no problem (doesn't fail the len() test.) But next time the go in and repopulate THING, it fails the len() test even though THING is no longer empty.
Is this behavior because I'm getting the value of THING from pluginPrefs.get()? Can I pull the value from the dialog field itself?
Thanks,
Dave