Bug fix in Worldmaps when a composing map is deleted.

This commit is contained in:
Zukero
2017-10-22 18:21:48 +02:00
parent 5a1d8637f9
commit 33260137d9

View File

@@ -23,11 +23,13 @@ import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import com.gpl.rpg.atcontentstudio.ATContentStudio;
import com.gpl.rpg.atcontentstudio.model.GameDataElement;
import com.gpl.rpg.atcontentstudio.model.ProjectTreeNode;
import com.gpl.rpg.atcontentstudio.model.SaveEvent;
import com.gpl.rpg.atcontentstudio.model.gamedata.GameDataSet;
import com.gpl.rpg.atcontentstudio.ui.DefaultIcons;
import com.gpl.rpg.atcontentstudio.ui.StudioFrame;
public class WorldmapSegment extends GameDataElement {
@@ -126,6 +128,7 @@ public class WorldmapSegment extends GameDataElement {
if (modified) {
this.state = GameDataElement.State.modified;
childrenChanged(new ArrayList<ProjectTreeNode>());
ATContentStudio.frame.editorChanged(this);
}
}