(Herbert): an empty bibstyle is valid apparently, so allow it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4117 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-05-02 13:34:10 +00:00
parent 025a1ad106
commit 9754806f6c
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-05-02 Herbert Voss <voss@perce.de>
* FormBibtex.C (apply): a change from a style to an empty one
(which is valid) wasn't saved
2002-05-02 Herbert Voss <voss@perce.de> 2002-05-02 Herbert Voss <voss@perce.de>
* FormGraphics.C (input): do not read bb new when it was changed * FormGraphics.C (input): do not read bb new when it was changed

View File

@ -192,8 +192,6 @@ void FormBibtex::apply()
// bibtotoc and no style // bibtotoc and no style
controller().params().setOptions("bibtotoc"); controller().params().setOptions("bibtotoc");
} else if (!bibstyle.empty()) { } else // all other cases
// only style
controller().params().setOptions(bibstyle); controller().params().setOptions(bibstyle);
}
} }