Fixed NPC editor bug where inflicted actor conditions weren't managed

correctly.
Fixed Worldmap saving and deletion (mostly the * management was crap)
Fixed multi-selection deletion.
This commit is contained in:
Zukero
2017-07-25 17:01:31 +02:00
parent e04c3ee2fd
commit 7eb5c7c208
5 changed files with 85 additions and 32 deletions

View File

@@ -98,7 +98,7 @@ public class WorldMapEditor extends Editor implements FieldUpdateListener {
public WorldMapEditor(WorldmapSegment worldmap) {
target = worldmap;
this.name = worldmap.id;
this.name = worldmap.getDesc();
this.icon = new ImageIcon(worldmap.getIcon());
setLayout(new BorderLayout());
@@ -117,8 +117,8 @@ public class WorldMapEditor extends Editor implements FieldUpdateListener {
@Override
public void targetUpdated() {
// TODO Auto-generated method stub
this.name = ((GameDataElement)target).getDesc();
updateMessage();
}
public JPanel getXmlEditorPane() {