commit 553642b086dc8ab41449adbbd1fa88257a7ce7f7
Author: Juergen Spitzmueller <[email protected]>
Date: Sat Jul 12 12:07:36 2025 +0200
Amend b42059255ebbae8
Don't know why this is needed. But it is.
---
lib/lyx2lyx/LyX.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/lyx2lyx/LyX.py b/lib/lyx2lyx/LyX.py
index e31964739c..edaeea4df0 100644
--- a/lib/lyx2lyx/LyX.py
+++ b/lib/lyx2lyx/LyX.py
@@ -296,7 +296,7 @@ class LyX_base:
self.end_layoutformat = 0
for version in format_relation:
- if final_version in version[2]:
+ if final_version in version[2] and len(version) > 3:
# set the layout format for that version
self.end_layoutformat = version[3]
break
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs