mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
lineno: dump lineno buffer token if false/empty as well.
Oversmarted myself. Wanted to save .lyx header from overbloating but dialog's UI depends on those tokens when disabling the option in UI.
This commit is contained in:
parent
88f4718996
commit
bea2756472
@ -1326,12 +1326,10 @@ void BufferParams::writeFile(ostream & os, Buffer const * buf) const
|
||||
<< "\n\\justification " << convert<string>(justification)
|
||||
<< "\n\\use_refstyle " << use_refstyle
|
||||
<< "\n\\use_minted " << use_minted
|
||||
<< "\n\\use_lineno " << use_lineno
|
||||
<< '\n';
|
||||
|
||||
if (use_lineno)
|
||||
os << "\\use_lineno " << use_lineno << '\n';
|
||||
if (!lineno_opts.empty())
|
||||
os << "\\lineno_options " << lineno_opts << '\n';
|
||||
os << "\\lineno_options " << lineno_opts << '\n';
|
||||
|
||||
if (isbackgroundcolor == true)
|
||||
os << "\\backgroundcolor " << lyx::X11hexname(backgroundcolor) << '\n';
|
||||
|
Loading…
Reference in New Issue
Block a user