]> git.lyx.org Git - lyx.git/commitdiff
Amend d41c3f27d91
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 22 Jul 2018 18:04:19 +0000 (20:04 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 22 Jul 2018 18:04:19 +0000 (20:04 +0200)
Quote insets are allowed in ERT.

src/insets/InsetERT.h

index ba62977d09301ab0889ae4c60eda9533435cf856..fb67bc14716fa2a4434f2ce658acbcb9e8473e5d 100644 (file)
@@ -80,7 +80,7 @@ private:
        ///
        bool allowSpellCheck() const { return false; }
        ///
-       bool insetAllowed(InsetCode /* code */) const { return false; }
+       bool insetAllowed(InsetCode code) const { return code == QUOTE_CODE; }
        ///
        unique_ptr<support::TempFile> tempfile_;
 };