mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #805 from rcordovano/artifact_type_in_attr_table
Fix bug in case name code in XMLCaseManagement
This commit is contained in:
commit
88af810765
@ -659,7 +659,7 @@ import org.xml.sax.SAXException;
|
|||||||
// set the case Directory and Name
|
// set the case Directory and Name
|
||||||
setCaseDirPath(file.getParent());
|
setCaseDirPath(file.getParent());
|
||||||
String fullFileName = file.getName();
|
String fullFileName = file.getName();
|
||||||
String fileName = fullFileName.substring(0, fullFileName.indexOf(".")); // remove the extension
|
String fileName = fullFileName.substring(0, fullFileName.lastIndexOf(".")); // remove the extension
|
||||||
setName(fileName);
|
setName(fileName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user