diff --git a/src/lyxfunc.C b/src/lyxfunc.C index ff526d5968..ed0553518a 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -1884,8 +1884,10 @@ void LyXFunc::menuNew(string const & name, bool fromTemplate) } Buffer * const b = newFile(filename, templname, !name.empty()); - if (b) + if (b) { + updateLabels(*b); lyx_view_->setBuffer(b); + } }