]> git.lyx.org Git - features.git/commit
Another fix for r30560.
authorVincent van Ravesteijn <vfr@lyx.org>
Tue, 25 Aug 2009 00:04:47 +0000 (00:04 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Tue, 25 Aug 2009 00:04:47 +0000 (00:04 +0000)
commit5a02843ab20fd1524a12c8077f740d475c974a95
treea8400f1f8b818efc260d90208e813ab1d4ab1ccc
parentefc0435157bb3be78f6bd2c9ff44bfe934bded10
Another fix for r30560.

When setLayout() disappeared, also the call to setButtonLabel() disappeared. Now, when changing a Note into a Comment, the button label is no longer updated. This is because labelstring_ is not empty, so the line:

return labelstring_.empty() ? getLayout().labelstring() : labelstring_;

introduced in r30570 has no effect.

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