Fixed New file action

This commit is contained in:
Jindra Petřík
2022-11-21 21:17:17 +01:00
parent 9ec4e53132
commit 80585cc376
2 changed files with 3 additions and 2 deletions

View File

@@ -105,8 +105,8 @@ public class OpenableSourceInfo {
return file;
}
public boolean isBundle() {
if (inputStream == null) {
public boolean isBundle() {
if (inputStream == null && file != null) {
File fileObj = new File(file);
String fileName = fileObj.getName();
if (fileName.startsWith("asdec_") && fileName.endsWith(".tmp")) {