]> git.lyx.org Git - lyx.git/commitdiff
Let lyx2lyx create a proper TOC inset
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Wed, 18 Apr 2012 18:44:33 +0000 (20:44 +0200)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Wed, 18 Apr 2012 18:44:33 +0000 (20:44 +0200)
Now that \lstlistoflistings is supported by InsetTOC, we should use that
instead of ERT. I could have updated the file format and directly used an
InsetTOC instead, but I was too lazy.

lib/examples/localization_test.lyx

index 51d09a468a082363943d80ccf66ad61660dbbf38..1cad07251618a927778f72415961d92f47abc11c 100644 (file)
@@ -414,7 +414,7 @@ status open
 
 
 \backslash
-lstlistoflistings
+lstlistoflistings{}
 \end_layout
 
 \end_inset