mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Do not write \default_view_format if it is empty.
This commit is contained in:
parent
80f855581c
commit
93e7ab1f3e
@ -2729,8 +2729,9 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
|
||||
break;
|
||||
// fall through
|
||||
case RC_DEFAULT_VIEW_FORMAT:
|
||||
if (ignore_system_lyxrc ||
|
||||
default_view_format != system_lyxrc.default_view_format) {
|
||||
if ((ignore_system_lyxrc ||
|
||||
default_view_format != system_lyxrc.default_view_format)
|
||||
&& !default_view_format.empty()) {
|
||||
os << "\\default_view_format " << default_view_format << '\n';
|
||||
}
|
||||
if (tag != RC_LAST)
|
||||
|
Loading…
Reference in New Issue
Block a user