]> git.lyx.org Git - features.git/blobdiff - src/Buffer.h
Don't set the read-only flags of the documents. The GuiCompare is modal anyway, so...
[features.git] / src / Buffer.h
index 1d372f48483276dbec6a68c28aceb5e6a04cbbae..af69950eb1a74443136eac2624d64a353c617ef7 100644 (file)
@@ -318,7 +318,7 @@ public:
        bool isReadonly() const;
 
        /// Set buffer read-only flag
-       void setReadonly(bool flag = true) const;
+       void setReadonly(bool flag = true);
 
        /// returns \c true if the buffer contains a LaTeX document
        bool isLatex() const;