]> git.lyx.org Git - features.git/commitdiff
Fix cut and paste error
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 9 Dec 2022 08:12:23 +0000 (09:12 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 9 Dec 2022 08:12:23 +0000 (09:12 +0100)
lib/lyx2lyx/lyx_2_4.py

index 024480f175cdd2ae1844c70e66a125244c722d7e..e75cdbf2c4bcfb2f69337deff03fc7043340ba3a 100644 (file)
@@ -3061,7 +3061,7 @@ def convert_Semibolds(document):
                 else:
                     # We need to use this regex since split() does not handle quote protection
                     ttopts = re.findall(r'[^"\s]\S*|".+?"', document.header[x])
-                    document.header[x] = "\\font_typewriter_opts \"semibold, " + sfopts[1].strip('"') + "\""
+                    document.header[x] = "\\font_typewriter_opts \"semibold, " + ttopts[1].strip('"') + "\""
 
 
 def convert_NotoRegulars(document):