From defa62aa3dc900124caffa266380b1bfe0442c11 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Wed, 10 Feb 2010 04:03:35 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiApplication.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 981d345aa1..bdb427b646 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -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"); } -- 2.39.2