mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Do not output a warning about missing the width of a nomencl_print. The width will not be outputted if it's empty and this is the case when the nomencl_print has "set_width" set to auto or none.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33559 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b9e45ab91f
commit
36c1de09a7
@ -767,7 +767,7 @@ def revert_nomencl_cwidth(document):
|
||||
j = find_end_of_inset(document.body, i)
|
||||
l = find_token(document.body, "width", i, j)
|
||||
if l == -1:
|
||||
document.warning("Can't find width option for nomencl_print!")
|
||||
#Can't find width option for nomencl_print
|
||||
i = j
|
||||
continue
|
||||
width = get_value(document.body, "width", i, j).strip('"')
|
||||
|
Loading…
Reference in New Issue
Block a user