mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
One more minor thing....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36025 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ce7c1afc34
commit
ab80a57edd
@ -658,7 +658,7 @@ def revert_backgroundcolor(document):
|
||||
i = find_token(document.header, "\\backgroundcolor", 0)
|
||||
if i == -1:
|
||||
return
|
||||
colorcode = get_value(document.header, '\\backgroundcolor', 0)
|
||||
colorcode = get_value(document.header, '\\backgroundcolor', i)
|
||||
del document.header[i]
|
||||
# don't clutter the preamble if backgroundcolor is not set
|
||||
if colorcode == "#ffffff":
|
||||
|
Loading…
Reference in New Issue
Block a user