Merge branch '6773-WebHistoryDiscoveryDetailsViewer' of https://github.com/wschaeferB/autopsy into 6774-DownloadsDiscoveryDetailsViewer

This commit is contained in:
William Schaefer 2020-10-26 16:42:19 -04:00
commit 6b5443cc34

View File

@ -86,7 +86,7 @@ class ArtifactsListPanel extends JPanel {
if (selectedIndex < jTable1.getSelectionModel().getMinSelectionIndex() || jTable1.getSelectionModel().getMaxSelectionIndex() < 0 || selectedIndex > jTable1.getSelectionModel().getMaxSelectionIndex()) { if (selectedIndex < jTable1.getSelectionModel().getMinSelectionIndex() || jTable1.getSelectionModel().getMaxSelectionIndex() < 0 || selectedIndex > jTable1.getSelectionModel().getMaxSelectionIndex()) {
return null; return null;
} }
return tableModel.getArtifactByRow(jTable1.convertRowIndexToView(selectedIndex)); return tableModel.getArtifactByRow(jTable1.convertRowIndexToModel(selectedIndex));
} }
/** /**