]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
A GUI for nomencl settings. Adds the possibility to enter a custom length.
[lyx.git] / src / Buffer.cpp
index ac6383127e2fba38eb0f163dd5099d56adf6e9a6..d9d9547df5d00f26556036b5e141fd24718756d5 100644 (file)
@@ -125,7 +125,7 @@ namespace {
 
 // Do not remove the comment below, so we get merge conflict in
 // independent branches. Instead add your own.
-int const LYX_FORMAT = 356;  // sanda: support for \\uuline
+int const LYX_FORMAT = 360;  // jspitzm: nomencl custom width
 
 typedef map<string, bool> DepClean;
 typedef map<docstring, pair<InsetLabel const *, Buffer::References> > RefCache;
@@ -525,6 +525,7 @@ int Buffer::readHeader(Lexer & lex)
        params().clearRemovedModules();
        params().pdfoptions().clear();
        params().indiceslist().clear();
+       params().backgroundcolor = lyx::rgbFromHexName("#ffffff");
 
        for (int i = 0; i < 4; ++i) {
                params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];