mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +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();
|
imageThumbnailViewer = new ImageThumbnailViewer();
|
||||||
videoThumbnailViewer = new VideoThumbnailViewer();
|
videoThumbnailViewer = new VideoThumbnailViewer();
|
||||||
videoThumbnailViewer.addListSelectionListener((e) -> {
|
videoThumbnailViewer.addListSelectionListener((e) -> {
|
||||||
if (!e.getValueIsAdjusting()) {
|
if (resultType == FileSearchData.FileType.VIDEO) {
|
||||||
populateInstancesList();
|
if (!e.getValueIsAdjusting()) {
|
||||||
} else {
|
populateInstancesList();
|
||||||
instancesList.clearSelection();
|
} else {
|
||||||
|
instancesList.clearSelection();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
imageThumbnailViewer.addListSelectionListener((e) -> {
|
imageThumbnailViewer.addListSelectionListener((e) -> {
|
||||||
if (!e.getValueIsAdjusting()) {
|
if (resultType == FileSearchData.FileType.IMAGE) {
|
||||||
populateInstancesList();
|
if (!e.getValueIsAdjusting()) {
|
||||||
} else {
|
populateInstancesList();
|
||||||
instancesList.clearSelection();
|
} else {
|
||||||
|
instancesList.clearSelection();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//Add the context menu when right clicking
|
//Add the context menu when right clicking
|
||||||
|
Loading…
x
Reference in New Issue
Block a user