]> git.lyx.org Git - features.git/commit
Avoid duplicate labels when the user change an InsetLabel.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 2 Mar 2008 17:04:10 +0000 (17:04 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 2 Mar 2008 17:04:10 +0000 (17:04 +0000)
commit132003aac5a30bc133f82a453a558945f13d83ff
tree85a2658422e0947fa48258a6048f08644ed87d54
parentce2a68ce8d39901e3f2550cd8d73156bfe54fed1
Avoid duplicate labels when the user change an InsetLabel.

* InsetLabel:
- update(): new method for changing the label. Uses the Buffer reference cache instead of a lookup.
- LFUN_INSET_MODIFY: use update() instead of Buffer::changeRefIfUnique().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23393 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/InsetLabel.cpp
src/insets/InsetLabel.h