mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Fix for bug in handling of null file path/ext code for report modules
This commit is contained in:
parent
0258dfbf89
commit
b3856fd0d1
@ -48,18 +48,18 @@ public class ReportProgressPanel extends javax.swing.JPanel {
|
||||
}
|
||||
|
||||
private void customInit(String reportName, String reportPath) {
|
||||
reportLabel.setText(reportName);
|
||||
pathLabel.setText("<html><u>" + shortenPath(reportPath) + "</u></html>");
|
||||
pathLabel.setToolTipText(reportPath);
|
||||
|
||||
reportProgressBar.setIndeterminate(true);
|
||||
reportProgressBar.setMaximum(100);
|
||||
|
||||
|
||||
reportLabel.setText(reportName);
|
||||
processingLabel.setText("Queuing...");
|
||||
STATUS = ReportStatus.QUEUING;
|
||||
|
||||
if (reportPath != null) {
|
||||
// Add the "link" effect to the pathLabel
|
||||
pathLabel.setText("<html><u>" + shortenPath(reportPath) + "</u></html>");
|
||||
pathLabel.setToolTipText(reportPath);
|
||||
|
||||
// Add the "link" effect to the pathLabel
|
||||
final String linkPath = reportPath;
|
||||
pathLabel.addMouseListener(new MouseListener() {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user