From 38444bc37f7c25116a39627c6ea458c959e2cd73 Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Mon, 14 Mar 2016 17:21:42 +0100 Subject: [PATCH] #1198: saving trait slot const value fixed --- .../decompiler/flash/gui/abc/SlotConstTraitDetailPanel.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/jpexs/decompiler/flash/gui/abc/SlotConstTraitDetailPanel.java b/src/com/jpexs/decompiler/flash/gui/abc/SlotConstTraitDetailPanel.java index 9b5b559be..546496f50 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/SlotConstTraitDetailPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/SlotConstTraitDetailPanel.java @@ -28,6 +28,7 @@ import com.jpexs.decompiler.flash.gui.editor.LineMarkedEditorPane; import com.jpexs.decompiler.flash.helpers.HighlightedTextWriter; import com.jpexs.decompiler.flash.helpers.hilight.HighlightSpecialType; import com.jpexs.decompiler.flash.helpers.hilight.Highlighting; +import com.jpexs.decompiler.flash.tags.Tag; import java.awt.BorderLayout; import java.io.IOException; import java.io.StringReader; @@ -129,6 +130,8 @@ public class SlotConstTraitDetailPanel extends JPanel implements TraitDetail { Logger.getLogger(SlotConstTraitDetailPanel.class.getName()).log(Level.SEVERE, null, ex); return false; } + + ((Tag) abc.parentTag).setModified(true); return true; }