]> git.lyx.org Git - lyx.git/commitdiff
another lyx2lyx fix for index
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 17 Aug 2024 14:55:23 +0000 (16:55 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 17 Aug 2024 14:55:23 +0000 (16:55 +0200)
lib/lyx2lyx/lyx_2_5.py

index c93a3bfc215734a1be5cd9ad7784c89c6fa0ff05..e3de465948e43587fd4993b6f62cd39bf4f6d2f1 100644 (file)
@@ -661,8 +661,6 @@ def convert_index_sc(document):
                 line = document.body[k]
                 chunks = line.split(ec)
                 repl = []
-                if line[0] == ec:
-                    repl = put_cmd_in_ert(ec)
                 chunks_len = len(chunks)-1
                 for ch in chunks[:-1]:
                     repl += [ch]