Force a SELECTION update if we had a selection and we passed the event down to

the inset (fix #213).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3587 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2002-02-26 11:55:31 +00:00
parent 1120aa806c
commit 529603f179
3 changed files with 11 additions and 2 deletions

View File

@ -9,6 +9,7 @@ src/converter.C
src/CutAndPaste.C
src/debug.C
src/exporter.C
src/ext_l10n.h
src/figure_form.C
src/figureForm.C
src/FontLoader.C

View File

@ -1,3 +1,8 @@
2002-02-26 Juergen Vigna <jug@sad.it>
* insettabular.C (localDispatch): force a SELECTION update if we
had a selection and we passed the event down to the inset (fix #213)
2002-02-22 Juergen Vigna <jug@sad.it>
* insettext.C (insetUnlock): set the cursor to the second paragraph

View File

@ -534,7 +534,7 @@ void InsetTabular::update(BufferView * bv, LyXFont const & font, bool reinit)
need_update = INIT;
break;
case SELECTION:
need_update = INIT;
need_update = FULL;
break;
default:
break;
@ -1204,6 +1204,9 @@ InsetTabular::localDispatch(BufferView * bv, kb_action action,
return UNDISPATCHED;
} else if (hs) {
clearSelection();
// so the below CELL is not set because this is higher
// priority and we get a full redraw
need_update = SELECTION;
}
nodraw(false);
updateLocal(bv, CELL, false);