]> git.lyx.org Git - lyx.git/commitdiff
* Buffer.cpp (readHeader): restore the default index after cleaning up.
authorJürgen Spitzmüller <spitz@lyx.org>
Mon, 17 Aug 2009 07:34:01 +0000 (07:34 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Mon, 17 Aug 2009 07:34:01 +0000 (07:34 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31082 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp

index 26e816b73d5e139bd75edae520e54656e1e7c94c..fc30c09da256bcb95fb663eb707372fa564c8b86 100644 (file)
@@ -568,6 +568,8 @@ int Buffer::readHeader(Lexer & lex)
        params().clearRemovedModules();
        params().pdfoptions().clear();
        params().indiceslist().clear();
+       // default index
+       params().indiceslist().addDefault(B_("Index"));
        params().backgroundcolor = lyx::rgbFromHexName("#ffffff");
 
        for (int i = 0; i < 4; ++i) {