Handle readonly as not modified for folders

This commit is contained in:
Jindra Petřík
2022-12-18 23:10:24 +01:00
parent a6e658f046
commit 9d1f91e621
@@ -17,6 +17,7 @@
package com.jpexs.decompiler.flash.treeitems;
import com.jpexs.decompiler.flash.SWF;
import com.jpexs.decompiler.flash.tags.Tag;
import java.util.List;
/**
@@ -61,6 +62,9 @@ public class FolderItem implements TreeItem {
}
for (TreeItem ti : subItems) {
if ((ti instanceof Tag) && (((Tag)ti).isReadOnly())) {
continue;
}
if (ti.isModified()) {
return true;
}