On Thu, Aug 14, 2008 at 12:09:39PM +0200, Vincent van Ravesteijn - TNW wrote:
> Index: src/insets/InsetCollapsable.cpp
> ===================================================================
> --- src/insets/InsetCollapsable.cpp   (revision 26147)
> +++ src/insets/InsetCollapsable.cpp   (working copy)
> @@ -495,7 +504,14 @@
>                       case mouse_button::button3:
>                               // Pass the command to the enclosing
> InsetText,
>                               // so that the cursor gets set.
> -                             cur.undispatched();
> +                             if( cur.bv().cursor().isInside( this ) )
> +                             {
> +                                     cur.noUpdate();
> +                             }
> +                             else
> +                             {
> +                                     cur.undispatched();
> +                             }
>                               break;

Incidentally, if you want to have your patches easy to apply please
stick to the LyX coding conventions as outlined in
 
  development/coding/{Rules,Recommendations}

Andre'

Reply via email to