diff --git a/src/insets/InsetERT.h b/src/insets/InsetERT.h
index ba62977d09..fb67bc1471 100644
--- a/src/insets/InsetERT.h
+++ b/src/insets/InsetERT.h
@@ -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_;
 };