mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Merge pull request #1917 from BasisOlivers/tagged-results-bug-fix
Fixed tagged results bug
This commit is contained in:
commit
50a0197f67
@ -96,11 +96,13 @@ final class ReportVisualPanel2 extends JPanel {
|
|||||||
public void mousePressed(MouseEvent evt) {
|
public void mousePressed(MouseEvent evt) {
|
||||||
|
|
||||||
int index = tagsList.locationToIndex(evt.getPoint());
|
int index = tagsList.locationToIndex(evt.getPoint());
|
||||||
|
if (index < tagsModel.getSize() && index >= 0) {
|
||||||
String value = tagsModel.getElementAt(index);
|
String value = tagsModel.getElementAt(index);
|
||||||
tagStates.put(value, !tagStates.get(value));
|
tagStates.put(value, !tagStates.get(value));
|
||||||
tagsList.repaint();
|
tagsList.repaint();
|
||||||
updateFinishButton();
|
updateFinishButton();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user