mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
performance fix, label updating have nothing to do with Buffer contents. 'updateLabels()' is called in BufferView::setBuffer().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16599 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f18e41b734
commit
42b83ba362
@ -1352,8 +1352,6 @@ void Buffer::updateDocLang(Language const * nlang)
|
||||
BOOST_ASSERT(nlang);
|
||||
|
||||
pimpl_->messages.reset(new Messages(nlang->code()));
|
||||
|
||||
updateLabels(*this);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user