]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.C
In for a penny, in for a pound. Consistent use of // -*- C++ -*-
[lyx.git] / src / BufferView_pimpl.C
index 3b70e8d7046dab59d4eb32a9ac73c7d1cbeb29cc..49aca6c6ab76e0df0a8f8f61d96c2fd927bee97b 100644 (file)
@@ -64,6 +64,7 @@ extern int greek_kb_flag;
 
 using std::vector;
 using std::find_if;
+using std::find;
 using std::pair;
 using std::endl;
 using std::make_pair;
@@ -2767,7 +2768,7 @@ bool BufferView::Pimpl::Dispatch(kb_action action, string const & argument)
                        new_inset->setOwner(bv_->theLockingInset());
                        new_inset->SetAutoBreakRows(true);
                        new_inset->SetDrawFrame(0, InsetText::LOCKED);
-                       new_inset->SetFrameColor(0, LColor::footnoteframe);
+                       new_inset->SetFrameColor(0, LColor::captionframe);
                        if (insertInset(new_inset))
                                new_inset->Edit(bv_, 0, 0, 0);
                        else