mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix totalheight reversion routine if there was no totalheight set
This commit is contained in:
parent
bb1f81502c
commit
44bfdbd5b2
@ -3523,7 +3523,11 @@ def revert_totalheight(document):
|
||||
else:
|
||||
del document.body[kk]
|
||||
elif oldheight != "":
|
||||
if special != "":
|
||||
document.body[k] = "\tspecial " + special
|
||||
document.body.insert(k, "\theight " + oldheight)
|
||||
else:
|
||||
document.body[k] = "\theight " + oldheight
|
||||
i = j + 1
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user