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:
Jürgen Vigna 2002-02-22 14:51:53 +00:00
parent 82d23e8538
commit 96c10746aa
2 changed files with 6 additions and 1 deletions

View File

@ -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;
}

View File

@ -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).