From 24567b9d61385072c1dd1ae7c24fd6c4e60c4d10 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Vigna?= Date: Fri, 11 Jan 2002 16:00:28 +0000 Subject: [PATCH] Fixed stupid bug in insettext.C git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3336 a592a061-630c-0410-9148-cb99ea01b6c8 --- po/POTFILES.in | 1 + src/insets/ChangeLog | 4 ++++ src/insets/insettext.C | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index 20a05e23d2..0207449298 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -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 diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index c42de22cdc..c3c6f9bd9c 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2002-01-11 Juergen Vigna + + * insettext.C (insetButtonPress): set the_locking_inset to 0. + 2002-01-11 Jean-Marc Lasgouttes * insettabular.C (getStatus): add forgotten brace around multiline diff --git a/src/insets/insettext.C b/src/insets/insettext.C index a7558b1b15..ea1c025a34 100644 --- a/src/insets/insettext.C +++ b/src/insets/insettext.C @@ -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(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); -- 2.39.2