Refactored and cleaned up the EvEditor module.
This commit is contained in:
parent
cc2b094bc6
commit
870c750538
2 changed files with 158 additions and 121 deletions
|
|
@ -543,10 +543,10 @@ class CmdDesc(MuxCommand):
|
|||
if not obj:
|
||||
return
|
||||
|
||||
def load():
|
||||
def load(caller):
|
||||
return obj.db.desc or ""
|
||||
|
||||
def save():
|
||||
def save(caller, buf):
|
||||
"""
|
||||
Save line buffer to the desc prop. This should
|
||||
return True if successful and also report its status to the user.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue