mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge branch 'master' of https://github.com/Devin148/autopsy
This commit is contained in:
commit
cb2afe4118
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.1" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
|
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
|
||||||
<AuxValues>
|
<AuxValues>
|
||||||
|
@ -42,6 +42,12 @@ class OpenRecentCasePanel extends javax.swing.JPanel {
|
|||||||
|
|
||||||
private OpenRecentCasePanel() {
|
private OpenRecentCasePanel() {
|
||||||
initComponents();
|
initComponents();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Retrieves all the recent cases and adds them to the table.
|
||||||
|
*/
|
||||||
|
private void generateRecentCases() {
|
||||||
|
|
||||||
caseName = RecentCases.getInstance().getRecentCaseNames();
|
caseName = RecentCases.getInstance().getRecentCaseNames();
|
||||||
casePaths = RecentCases.getInstance().getRecentCasePaths();
|
casePaths = RecentCases.getInstance().getRecentCasePaths();
|
||||||
@ -118,6 +124,7 @@ class OpenRecentCasePanel extends javax.swing.JPanel {
|
|||||||
if (instance == null) {
|
if (instance == null) {
|
||||||
instance = new OpenRecentCasePanel();
|
instance = new OpenRecentCasePanel();
|
||||||
}
|
}
|
||||||
|
instance.generateRecentCases(); // refresh the case list
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user