use of com.bladecoder.engineeditor.undo.UndoDeleteSound in project bladecoder-adventure-engine by bladecoder.
the class SoundList method delete.
@Override
protected void delete() {
SoundDesc s = removeSelected();
parent.getSounds().remove(s.getId());
// UNDO
Ctx.project.getUndoStack().add(new UndoDeleteSound(s));
Ctx.project.setModified();
}
Aggregations