mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fixed by calling edit() before InsetButtonPress on locking the inset for
HIGHLY editable insets (fix #250). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3584 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
82d23e8538
commit
96c10746aa
@ -648,8 +648,10 @@ void BufferView::Pimpl::workAreaButtonPress(int xpos, int ypos,
|
||||
selection_possible = false;
|
||||
owner_->updateLayoutChoice();
|
||||
owner_->message(inset->editMessage());
|
||||
// IMO the inset has to be first in edit-mode and then we send the
|
||||
// button press. (Jug 20020222)
|
||||
inset->edit(bv_); //, xpos, ypos, button);
|
||||
inset->insetButtonPress(bv_, xpos, ypos, button);
|
||||
inset->edit(bv_, xpos, ypos, button);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2002-02-22 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
|
||||
insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
|
||||
|
||||
* text.C (leftMargin): don't add an indent for paragraphs inside
|
||||
tabular cells (fix #208).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user