mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-16 17:57:43 +00:00
Merge branch 'release-4.4.1' of github.com:sleuthkit/autopsy into ivy-deps
This commit is contained in:
commit
9ed3883965
@ -119,8 +119,11 @@ final class ImportHashDatabaseDialog extends javax.swing.JDialog {
|
||||
orgs = dbManager.getOrganizations();
|
||||
orgs.forEach((org) -> {
|
||||
comboboxSourceOrganization.addItem(org.getName());
|
||||
selectedOrg = orgs.get(0);
|
||||
});
|
||||
if (!orgs.isEmpty()) {
|
||||
selectedOrg = orgs.get(0);
|
||||
}
|
||||
valid();
|
||||
} catch (EamDbException ex) {
|
||||
LOGGER.log(Level.SEVERE, "Failure populating combobox with organizations.", ex);
|
||||
}
|
||||
@ -183,7 +186,7 @@ final class ImportHashDatabaseDialog extends javax.swing.JDialog {
|
||||
return false;
|
||||
}
|
||||
|
||||
return enableOkButton(checkFields());
|
||||
return enableOkButton(checkFields() && null != selectedOrg);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -545,6 +548,7 @@ final class ImportHashDatabaseDialog extends javax.swing.JDialog {
|
||||
return;
|
||||
}
|
||||
}
|
||||
valid();
|
||||
}//GEN-LAST:event_comboboxSourceOrganizationActionPerformed
|
||||
|
||||
@NbBundle.Messages({"ImportHashDatabaseDialog.ImportHashDatabaseWorker.displayName=Importing Hash Database"})
|
||||
|
Loading…
x
Reference in New Issue
Block a user