Fixed: #1668 Not removing SymbolClass/ExportAssets entry on character remove

This commit is contained in:
Jindra Petřík
2021-03-26 22:07:37 +01:00
parent 6c64dc19e1
commit ae9fe33f17
3 changed files with 12 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
- Writing DefineFont2/3 ascent/descent as SI16 - it's UI16
- [#1660] Empty thumbnail view on remove item
- [#1669] FILLSTYLE color handling in DefineShape3/4
- [#1668] Not removing SymbolClass/ExportAssets entry on character remove
## [14.3.1] - 2021-03-25
### Fixed
@@ -2164,6 +2165,7 @@ All notable changes to this project will be documented in this file.
[#1513]: https://www.free-decompiler.com/flash/issues/1513
[#1660]: https://www.free-decompiler.com/flash/issues/1660
[#1669]: https://www.free-decompiler.com/flash/issues/1669
[#1668]: https://www.free-decompiler.com/flash/issues/1668
[#1665]: https://www.free-decompiler.com/flash/issues/1665
[#1661]: https://www.free-decompiler.com/flash/issues/1661
[#1435]: https://www.free-decompiler.com/flash/issues/1435

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.tags;
import com.jpexs.decompiler.flash.SWF;
@@ -142,6 +143,9 @@ public class ExportAssetsTag extends SymbolClassTypeTag {
modified = true;
}
}
if (modified) {
setModified(true);
}
return modified;
}
}

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.tags;
import com.jpexs.decompiler.flash.SWF;
@@ -132,6 +133,9 @@ public class SymbolClassTag extends SymbolClassTypeTag {
modified = true;
}
}
if (modified) {
setModified(true);
}
return modified;
}
}