On Tue, Oct 14, 2014 at 6:04 AM, Alfredo Braunstein <abrau...@lyx.org> wrote:
> commit b2246c4ea295bb93923a9a9c47faba73f69b8a9f
> Author: Alfredo Braunstein <abrau...@lyx.org>
> Date:   Mon Oct 13 10:59:50 2014 +0200
>
>     insets/InsetTabular.cpp (doDispatch):  fix to #9291. The problem was 
> simply that the default status for the cursor in the call to *::doDispatch is 
> "dispatched".
>     insets/InsetTabular.cpp (edit): do not reset the selection
>
> diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
> index 2a9c7e6..de9f862 100644
> --- a/src/insets/InsetTabular.cpp
> +++ b/src/insets/InsetTabular.cpp
> @@ -3875,7 +3875,7 @@ void InsetTabular::edit(Cursor & cur, bool front, 
> EntryDirection)
>  {
>         //lyxerr << "InsetTabular::edit: " << this << endl;
>         cur.finishUndo();
> -       cur.setSelection(false);
> +       //cur.setSelection(false);
>         cur.push(*this);
>         if (front) {
>                 if (isRightToLeft(cur))

Why leave cur.setSelection(false) in there as commented?

Scott

Reply via email to