André, I take it that this is commented out for now because RefInset derives from CommandInset rather than InsetCommand? // cmd.view()->owner()->getDialogs()->showRef(this);
I ask because I had a go last night at turning John's rewrite of the label dialog into working code. It would presumably result in a similar call // cmd.view()->owner()->getDialogs()->showLabel(this); which I guess would fail also, for similar reasons. Angus