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:
Pavel Sanda 2010-02-10 04:03:35 +00:00
parent beca177751
commit defa62aa3d

View File

@ -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");
}