// (there are more than one entry or the inspection dialog is also enabled
// for single entries):
if (Globals.prefs.getBoolean("useImportInspectionDialog") &&
(Globals.prefs.getBoolean("useImportInspectionDialogForSingle")
|| (bibtexResult.getDatabase().getEntryCount() > 1))) {
ImportInspectionDialog diag = new ImportInspectionDialog(frame, panel,
BibtexFields.DEFAULT_INSPECTION_FIELDS,
Globals.lang("Import"), openInNew);
diag.addEntries(bibtexResult.getDatabase().getEntries());
diag.entryListComplete();
Util.placeDialog(diag, frame);
diag.setVisible(true);
diag.toFront();
} else {
boolean generateKeys = Globals.prefs.getBoolean("generateKeysAfterInspection");
NamedCompound ce = new NamedCompound(Globals.lang("Import entries"));
// Check if we should unmark entries before adding the new ones: