On 01/28/2010 11:47 AM, Jürgen Spitzmüller wrote:
Jürgen Spitzmüller wrote:
Another problem is that I get a crash when I cut and paste an existing
ref inset into a \text inset and then try to modify the referenced
label.
This is yet another uninitialized buffer_. No idea where that comes from.
If I add another manual setBuffer call in the paste helper, the problem
disappears. This is pretty scary.

As I said, this is because you construct a new inset. If you follow my advice and create an init() method, then the code will be simpler and you won't need to set the buffer again.

Abdel.

Reply via email to