mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
Fix (NSRL) label on first hash database
This commit is contained in:
parent
c46b8c7cf1
commit
a05e29b84d
@ -658,8 +658,12 @@ final class HashDbManagementPanel extends javax.swing.JPanel implements OptionsP
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object getValueAt(int rowIndex, int columnIndex) {
|
public Object getValueAt(int rowIndex, int columnIndex) {
|
||||||
|
if(xmlHandle.getNSRLSet() == null) {
|
||||||
|
return getDBAt(rowIndex).getName();
|
||||||
|
} else {
|
||||||
return rowIndex == 0 ? getDBAt(rowIndex).getName() + " (NSRL)" : getDBAt(rowIndex).getName();
|
return rowIndex == 0 ? getDBAt(rowIndex).getName() + " (NSRL)" : getDBAt(rowIndex).getName();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//Internal function for determining whether a companion -md5.idx file exists
|
//Internal function for determining whether a companion -md5.idx file exists
|
||||||
private boolean indexExists(int rowIndex){
|
private boolean indexExists(int rowIndex){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user