]> git.lyx.org Git - features.git/commitdiff
Use readonly for manuals only in released versions.
authorPavel Sanda <sanda@lyx.org>
Wed, 10 Feb 2010 04:03:35 +0000 (04:03 +0000)
committerPavel Sanda <sanda@lyx.org>
Wed, 10 Feb 2010 04:03:35 +0000 (04:03 +0000)
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

index 981d345aa154fe0353f91e8657cfb6a374fae56b..bdb427b646edce9d6122f8bc9eee88e024e4ad5e 100644 (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");
                }