You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#196 makes the PreferencesHelper (the base class of PreferencesPage) consistent in the handling of _items trait: It is assumed to be the event trait for listening to list/dict/set mutations.
This means one cannot have a trait that is actually named *_items and have it synchronized:
class MyPreferencesPage(PreferencesPage):
name_items = Str()
If this cannot be supported, we should document it and perhaps emit a warning when the trait is skipped.
The text was updated successfully, but these errors were encountered:
In PreferencesPage, we have this block of code that synchronizes changes on the PreferencesPage with the underlying Preferences:
apptools/apptools/preferences/ui/preferences_page.py
Lines 66 to 85 in d755bf1
#196 makes the PreferencesHelper (the base class of
PreferencesPage
) consistent in the handling of_items
trait: It is assumed to be the event trait for listening to list/dict/set mutations.This means one cannot have a trait that is actually named
*_items
and have it synchronized:If this cannot be supported, we should document it and perhaps emit a warning when the trait is skipped.
The text was updated successfully, but these errors were encountered: