]> git.lyx.org Git - features.git/blobdiff - lib/lyx2lyx/lyx_1_6.py
Fix lstparams reversion.
[features.git] / lib / lyx2lyx / lyx_1_6.py
index 7e685475b718de7b99169143facd631035d8529e..6e39e60cf8b00b5569372a8591759fcdc39d02d7 100644 (file)
@@ -1198,7 +1198,7 @@ def revert_include(document):
   r0 = re.compile('preview.*')
   r1 = re.compile('LatexCommand (.+)')
   r2 = re.compile('filename (.+)')
-  r3 = re.compile('options (.*)')
+  r3 = re.compile('lstparams "(.*)"')
   while True:
     i = find_token(document.body, "\\begin_inset CommandInset include", i)
     if i == -1: