* some more relicts of the unfinished favorite handling for math completion

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23142 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-02-22 21:11:05 +00:00
parent 67a9667232
commit 426c4bf356

View File

@ -801,12 +801,6 @@ bool MathMacro::insertCompletion(Cursor & cur, docstring const & s,
// finish macro
if (finished) {
#if 0
// FIXME: this creates duplicates in the completion popup
// which looks ugly. Moreover the changes the list lengths
// which seems to confuse the popup as well.
MathCompletionList::addToFavorites(inset->name());
#endif
cur.bv().cursor().pop();
++cur.bv().cursor().pos();
cur.updateFlags(Update::Force | Update::SinglePar);