Fix lyx2lyx bug: We need to check for quoted names before we check

for unquoted ones. Otherwise, a quoted name with no spaces gets
treated as if it were an unquoted name.
(cherry picked from commit 945c0e4127)
This commit is contained in:
Richard Heck 2012-12-10 11:09:50 -05:00
parent 35a7f81654
commit 24dea042c2
2 changed files with 5 additions and 2 deletions

View File

@ -315,9 +315,9 @@ def convert(lines):
continue
if format == 34:
match = re_InsetLayout2.match(lines[i])
match = re_QInsetLayout2.match(lines[i])
if not match:
match = re_QInsetLayout2.match(lines[i])
match = re_InsetLayout2.match(lines[i])
if not match:
match = re_CopyStyle2.match(lines[i])
if not match:

View File

@ -76,6 +76,9 @@ What's new
- Fix problem using lyxpak.py when outside the LyX tree: Variable was
undefined.
- Fix layout conversion bug involving quoted Flex inset names that do not
contain spaces.
* USER INTERFACE