I think I found a Jucer bug, whilst shamelessly ripping it off
[code]template
class ComponentUndoableAction : public UndoableAction
{
public:
ComponentUndoableAction (ComponentType* const comp,
ComponentLayout& layout_)
: layout (layout_),
componentIndex (layout_.indexOfComponent (comp))
[/code] It seems that the comp member doesnât get set - and the assert doesnât catch it because the incoming value masks it. Maybe thereâs something else going on (beyond my ken), but in my âversionâ I needed to set that.
Bruce