X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView_pimpl.C;h=49aca6c6ab76e0df0a8f8f61d96c2fd927bee97b;hb=31b56dac8042735f75229ad480b3e98531c181ff;hp=3b70e8d7046dab59d4eb32a9ac73c7d1cbeb29cc;hpb=313252eb8bafdba6d934786fd89c988902a0b4d7;p=lyx.git diff --git a/src/BufferView_pimpl.C b/src/BufferView_pimpl.C index 3b70e8d704..49aca6c6ab 100644 --- a/src/BufferView_pimpl.C +++ b/src/BufferView_pimpl.C @@ -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