Removed a spurious save_buffer argument.
This commit is contained in:
parent
9a5256ec12
commit
cec0378b77
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ class CmdEditorGroup(CmdEditorBase):
|
|||
# quit. If not saved, will ask
|
||||
if self.editor.unsaved:
|
||||
prompt_yesno(caller, "Save before quitting?",
|
||||
yescode = "self.caller.ndb._lineeditor.save_buffer(quitting=True)\nself.caller.ndb._lineeditor.quit()",
|
||||
yescode = "self.caller.ndb._lineeditor.save_buffer()\nself.caller.ndb._lineeditor.quit()",
|
||||
nocode = "self.caller.msg(self.caller.ndb._lineeditor.quit())", default="Y")
|
||||
else:
|
||||
string = editor.quit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue