Fixed #1407 NullPointer on Save as in BinaryData SWF subtree

This commit is contained in:
Jindra Petřík
2021-02-11 20:05:23 +01:00
parent b82c83c2ad
commit e450f7a082
3 changed files with 5 additions and 2 deletions

View File

@@ -180,7 +180,9 @@ public abstract class MainFrameMenu implements MenuBuilder {
if (swf != null) {
if (saveAs(swf, SaveFileMode.SAVEAS)) {
swf.clearModified();
if (swf.swfList != null) { //binarydata won't clear modified on saveas
swf.clearModified();
}
}
return true;