+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
// 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);
}
}
bool QBibtex::isValid()
{
- return dialog_->databaseLB->count() != 0 &&
- !string(dialog_->styleCB->text(0)).empty();
+ return dialog_->databaseLB->count() != 0;
}