>>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes:
Enrico> I fear that you exchanged an annoyance with a crash... I swear that I originally planned to test the 1.5 patch before committing it! It should work now. JMarc
Index: src/insets/insetcollapsable.C =================================================================== --- src/insets/insetcollapsable.C (revision 16343) +++ src/insets/insetcollapsable.C (working copy) @@ -356,8 +356,11 @@ void InsetCollapsable::doDispatch(LCurso break; } - if (cmd.button() == mouse_button::button1 && hitButton(cmd) - && !cur.selection()) { + if (cmd.button() == mouse_button::button1 && hitButton(cmd)) { + // if we are selecting, we do not want to + // toggle the inset. + if (cur.selection()) + break; // Left button is clicked, the user asks to // toggle the inset visual state. cur.dispatched();