mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
small fix from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5630 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b0babedcb7
commit
1111fcf683
@ -1,3 +1,7 @@
|
||||
2002-11-13 Herbert Voss <voss@perce.de>
|
||||
|
||||
* QBibtex.C: (apply, isValid) small changes
|
||||
|
||||
2002-11-13 John Levon <levon@movementarian.org>
|
||||
|
||||
* all pref files: make the stack work
|
||||
|
@ -136,7 +136,9 @@ void QBibtex::apply()
|
||||
// bibtotoc and no style
|
||||
controller().params().setOptions("bibtotoc");
|
||||
} else {
|
||||
// only style. An empty one is valid!
|
||||
// only style. An empty one is valid, because some
|
||||
// documentclasses have an own \bibliographystyle{}
|
||||
// command!
|
||||
controller().params().setOptions(bibstyle);
|
||||
}
|
||||
}
|
||||
@ -144,6 +146,5 @@ void QBibtex::apply()
|
||||
|
||||
bool QBibtex::isValid()
|
||||
{
|
||||
return dialog_->databaseLB->count() != 0 &&
|
||||
!string(dialog_->styleCB->text(0)).empty();
|
||||
return dialog_->databaseLB->count() != 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user