Fix (NSRL) label on first hash database

This commit is contained in:
Devin148 2012-11-07 15:16:50 -05:00
parent c46b8c7cf1
commit a05e29b84d

View File

@ -658,8 +658,12 @@ final class HashDbManagementPanel extends javax.swing.JPanel implements OptionsP
@Override
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();
}
}
//Internal function for determining whether a companion -md5.idx file exists
private boolean indexExists(int rowIndex){