Finish up most of the pattern editor except for copying

This commit is contained in:
cncfanatics
2010-10-11 07:41:56 +02:00
parent eb67a11ebc
commit e4e1b5ddf2
2 changed files with 82 additions and 43 deletions

View File

@@ -54,3 +54,9 @@ class DamagePattern():
def renamePattern(self, p, newName):
p.name = newName
eos.db.save(p)
def deletePattern(self, p):
eos.db.remove(p)
def saveChanges(self, p):
eos.db.save(p)