mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 07:03:32 +00:00
fix possible problem when opening inset inside table cell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@3777 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1de1f55aa1
commit
17e46bb2b0
@ -1,3 +1,8 @@
|
||||
2002-03-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* src/insets/insettext.C (InsetButtonPress): fix crash when
|
||||
opening an inset inside a table cell
|
||||
|
||||
2002-03-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* lib/kbd/bg-bds-1251.kmap: new kbmap for bulgarian
|
||||
|
@ -620,7 +620,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);
|
||||
if (the_locking_inset) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user