mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
Merge pull request #6005 from gdicristofaro/6512-reportSingleSelect
6512 report single select
This commit is contained in:
commit
1d38eec7c7
@ -151,6 +151,7 @@ final class ReportVisualPanel1 extends JPanel implements ListSelectionListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
modulesJList.getSelectionModel().addListSelectionListener(this);
|
modulesJList.getSelectionModel().addListSelectionListener(this);
|
||||||
|
modulesJList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
|
||||||
modulesJList.setCellRenderer(new ModuleCellRenderer());
|
modulesJList.setCellRenderer(new ModuleCellRenderer());
|
||||||
modulesJList.setListData(modules.toArray(new ReportModule[modules.size()]));
|
modulesJList.setListData(modules.toArray(new ReportModule[modules.size()]));
|
||||||
modulesJList.setSelectedIndex(selectedIndex);
|
modulesJList.setSelectedIndex(selectedIndex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user