mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Use readonly for manuals only in released versions.
Closing #6518. http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157541.html git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33402 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
beca177751
commit
defa62aa3d
@ -1302,7 +1302,9 @@ void GuiApplication::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
Buffer * buf = current_view_->loadDocument(fname, false);
|
||||
if (buf) {
|
||||
current_view_->setBuffer(buf);
|
||||
#ifndef DEVEL_VERSION
|
||||
buf->setReadonly(true);
|
||||
#endif
|
||||
buf->updateLabels();
|
||||
buf->errors("Parse");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user