mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +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,8 +2142,7 @@ def revert_solution(document):
|
||||
theoremName = "newtheorem"
|
||||
j = find_end_of_layout(document.body, i)
|
||||
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
|
||||
continue
|
||||
# if this is not a consecutive env, add start command
|
||||
|
Loading…
Reference in New Issue
Block a user