mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
90f8bbec90
commit
24567b9d61
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user