]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloatlist.h
* support/os_unix.C (canAutoOpen, autoOpenFile): on Mac OS X, use
[lyx.git] / src / insets / insetfloatlist.h
index 110032c281e6c504886fe7d8d90ec8c4f475f422..0808119bf67623375ab6bdb3b028fdeba8bdba5f 100644 (file)
@@ -52,7 +52,7 @@ public:
 private:
        virtual std::auto_ptr<InsetBase> doClone() const
        {
-               return std::auto_ptr<InsetBase>(new InsetFloatList(getCmdName()));
+               return std::auto_ptr<InsetBase>(new InsetFloatList(to_ascii(getParam("type"))));
        }
 };