mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* LyXFunc::menuNew():
- bug correction: don't forget to call updateLabels() to initialize the different backends. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17415 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
93211e0f3c
commit
d1d4e6d48f
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user