diff --git a/DelvEdit/src/com/interrupt/dungeoneer/editor/ui/PropertiesMenu.java b/DelvEdit/src/com/interrupt/dungeoneer/editor/ui/PropertiesMenu.java index ee3fc6b2..f0d72e36 100644 --- a/DelvEdit/src/com/interrupt/dungeoneer/editor/ui/PropertiesMenu.java +++ b/DelvEdit/src/com/interrupt/dungeoneer/editor/ui/PropertiesMenu.java @@ -577,6 +577,8 @@ public void applyChanges(final Field currentField, String val) { for (Entity entity : selectedEntities) { currentField.set(entity, Integer.parseInt(val)); } + + Editor.app.history.saveState(Editor.app.level); } } catch(Exception ex) { @@ -591,6 +593,8 @@ public void applyChanges(final Field currentField, Material val) { currentField.set(entity, new Material(val.texAtlas, val.tex)); } } + + Editor.app.history.saveState(Editor.app.level); } catch(Exception ex) { Gdx.app.error("DelvEdit", ex.getMessage()); @@ -703,6 +707,7 @@ else if(currentField.getType() == Color.class) { } } + Editor.app.history.saveState(Editor.app.level); Editor.app.refreshLights(); for(Entity entity : selectedEntities) {