Bug fix in portable case

This commit is contained in:
Eugene Livis 2019-09-04 13:06:03 -04:00
parent a28bb4ee26
commit 796e54b2da

View File

@ -120,6 +120,12 @@ class PortableCaseReportModule implements ReportModule {
@Override
public String getRelativeFilePath() {
try {
caseName = Case.getCurrentCaseThrows().getDisplayName() + " (Portable)"; // NON-NLS
} catch (NoCurrentCaseException ex) {
// a case may not be open yet
return "";
}
return caseName;
}