]> git.lyx.org Git - features.git/commitdiff
Add error fallback to custom insets
authorMartin Vermeer <martin.vermeer@hut.fi>
Tue, 4 Sep 2007 03:48:24 +0000 (03:48 +0000)
committerMartin Vermeer <martin.vermeer@hut.fi>
Tue, 4 Sep 2007 03:48:24 +0000 (03:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20030 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/stdcustom.inc

index 06ee38f663603a8acca916be780fe65549cd83cc..45251682e50614e8b33a634b6c8ba8f7e4c6d3a4 100644 (file)
@@ -18,3 +18,12 @@ InsetLayout Custom:Endnote
    EndPreamble
 End
 
+# Error fallback:
+InsetLayout Custom
+   LyxType     end
+   LabelString "UNDEFINED"
+   Font
+     Color     error
+   EndFont
+End
+