From 53af1415798ccef9ab12808f692aae5106ff2746 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Tue, 23 Jun 2020 09:01:53 -0400 Subject: [PATCH] set selection mode to SINGLE_SELECTION --- .../autopsy/report/infrastructure/ReportVisualPanel1.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/org/sleuthkit/autopsy/report/infrastructure/ReportVisualPanel1.java b/Core/src/org/sleuthkit/autopsy/report/infrastructure/ReportVisualPanel1.java index b9d9fc8b34..79680178e1 100644 --- a/Core/src/org/sleuthkit/autopsy/report/infrastructure/ReportVisualPanel1.java +++ b/Core/src/org/sleuthkit/autopsy/report/infrastructure/ReportVisualPanel1.java @@ -151,6 +151,7 @@ final class ReportVisualPanel1 extends JPanel implements ListSelectionListener { } modulesJList.getSelectionModel().addListSelectionListener(this); + modulesJList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); modulesJList.setCellRenderer(new ModuleCellRenderer()); modulesJList.setListData(modules.toArray(new ReportModule[modules.size()])); modulesJList.setSelectedIndex(selectedIndex);