mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
lyx_2_2.py: fix a logic mistake
- this message must be used for all cases
This commit is contained in:
parent
4ea80e077f
commit
6f221bab03
@ -2142,7 +2142,6 @@ def revert_solution(document):
|
|||||||
theoremName = "newtheorem"
|
theoremName = "newtheorem"
|
||||||
j = find_end_of_layout(document.body, i)
|
j = find_end_of_layout(document.body, i)
|
||||||
if j == -1:
|
if j == -1:
|
||||||
if starred == True:
|
|
||||||
document.warning("Malformed LyX document: Can't find end of " + LyXName + " layout")
|
document.warning("Malformed LyX document: Can't find end of " + LyXName + " layout")
|
||||||
i += 1
|
i += 1
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user