fix a small message bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6874 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2003-04-28 21:58:53 +00:00
parent d19f82e515
commit 36e376b011
3 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
* bufferlist.C (newFile): set language (messages_) for new
documents also.
* buffer.C (readFile): ws changes only.
2003-04-28 André Pönitz <poenitz@gmx.net>

View File

@ -499,6 +499,7 @@ Buffer * BufferList::newFile(string const & name, string tname, bool isNamed)
}
b->setReadonly(false);
b->updateDocLang(b->params.language);
return b;
}