mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 13:21:07 +00:00
Handle readonly as not modified for folders
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user