Mark Summerfield <mark <at> qtrac.eu> writes: > I think that the AModel instance needs to be kept alive, either by > giving it a parent or by making it an instance variable Thanks, problem fixed.