]> git.lyx.org Git - lyx.git/blobdiff - src/factory.C
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / factory.C
index 66ae5f30e5ec01fd80ea48bef19ae614656a418e..03a285a3c3e0e007b6eea7644f1f28878602148c 100644 (file)
@@ -187,7 +187,7 @@ InsetBase * createInset(BufferView * bv, FuncRequest const & cmd)
                if (!up) {
                        auto_ptr<InsetCaption> inset(new InsetCaption(params));
                        inset->setAutoBreakRows(true);
-                       inset->setDrawFrame(InsetText::LOCKED);
+                       inset->setDrawFrame(true);
                        inset->setFrameColor(LColor::captionframe);
                        return inset.release();
                }