mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-09 06:39:33 +00:00
Limit NSRL detection to filename
This commit is contained in:
parent
9c82125aa6
commit
e697594cd8
@ -242,7 +242,7 @@ class HashDbAddDatabaseDialog extends javax.swing.JDialog {
|
||||
String derivedName = SleuthkitJNI.getDatabaseName(filePath);
|
||||
databasePathTextField.setText(filePath);
|
||||
databaseNameTextField.setText(derivedName);
|
||||
if (filePath.toLowerCase().contains("nsrl")) {
|
||||
if (derivedName.toLowerCase().contains("nsrl")) {
|
||||
nsrlRadioButton.setSelected(true);
|
||||
nsrlRadioButtonActionPerformed(null);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user