Fixed stupid bug in insettext.C

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3336 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2002-01-11 16:00:28 +00:00
parent 90f8bbec90
commit 24567b9d61
3 changed files with 6 additions and 1 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,7 @@
2002-01-11 Juergen Vigna <jug@sad.it>
* insettext.C (insetButtonPress): set the_locking_inset to 0.
2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettabular.C (getStatus): add forgotten brace around multiline

View File

@ -906,7 +906,7 @@ void InsetText::insetButtonPress(BufferView * bv, int x, int y, int button)
the_locking_inset->insetUnlock(bv);
inset_x = cx(bv) - top_x + drawTextXOffset;
inset_y = cy(bv) + drawTextYOffset;
the_locking_inset = static_cast<UpdatableInset*>(inset);
the_locking_inset = 0;
inset->insetButtonPress(bv, x - inset_x,
y - inset_y, button);
inset->edit(bv, x - inset_x, y - inset_y, button);