]> git.lyx.org Git - lyx.git/blobdiff - src/Text3.cpp
That didn't really work. So revert to old CSS for gray notes.
[lyx.git] / src / Text3.cpp
index 93812f370e44e138a4d4faa02b6156d5bbdf2918..1f9e355812da1a59d29fd03e8564b9fe39c843e7 100644 (file)
@@ -1057,7 +1057,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                if (inset) {
                        // FIXME (Abdel 01/02/2006):
                        // What follows would be a partial fix for bug 2154:
-                       //   http://bugzilla.lyx.org/show_bug.cgi?id=2154
+                       //   http://www.lyx.org/trac/ticket/2154
                        // This automatically put the label inset _after_ a
                        // numbered section. It should be possible to extend the mechanism
                        // to any kind of LateX environement.
@@ -2008,7 +2008,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                        setParagraphs(cur, p);
                        // FIXME This should be simplified when InsetFloatList takes a
                        // Buffer in its constructor.
-                       InsetFloatList * ifl = new InsetFloatList(to_utf8(cmd.argument()));
+                       InsetFloatList * ifl = new InsetFloatList(cur.buffer(), to_utf8(cmd.argument()));
                        ifl->setBuffer(bv->buffer());
                        insertInset(cur, ifl);
                        cur.posForward();