mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
5781 only respond to instances table even with correct viewer
This commit is contained in:
parent
5f2ad35aaa
commit
9dd0d99bbe
@ -88,17 +88,21 @@ public class ResultsPanel extends javax.swing.JPanel {
|
||||
imageThumbnailViewer = new ImageThumbnailViewer();
|
||||
videoThumbnailViewer = new VideoThumbnailViewer();
|
||||
videoThumbnailViewer.addListSelectionListener((e) -> {
|
||||
if (!e.getValueIsAdjusting()) {
|
||||
populateInstancesList();
|
||||
} else {
|
||||
instancesList.clearSelection();
|
||||
if (resultType == FileSearchData.FileType.VIDEO) {
|
||||
if (!e.getValueIsAdjusting()) {
|
||||
populateInstancesList();
|
||||
} else {
|
||||
instancesList.clearSelection();
|
||||
}
|
||||
}
|
||||
});
|
||||
imageThumbnailViewer.addListSelectionListener((e) -> {
|
||||
if (!e.getValueIsAdjusting()) {
|
||||
populateInstancesList();
|
||||
} else {
|
||||
instancesList.clearSelection();
|
||||
if (resultType == FileSearchData.FileType.IMAGE) {
|
||||
if (!e.getValueIsAdjusting()) {
|
||||
populateInstancesList();
|
||||
} else {
|
||||
instancesList.clearSelection();
|
||||
}
|
||||
}
|
||||
});
|
||||
//Add the context menu when right clicking
|
||||
|
Loading…
x
Reference in New Issue
Block a user