enthought/pyface — comment on commit 86a16abaac96c03b88b88caec5e346cf2f70d427
File:  line 0
By mdickinson:

I think you need to import 'on_trait_change' for this to work.