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
|
# quit. If not saved, will ask
|
||||||
if self.editor.unsaved:
|
if self.editor.unsaved:
|
||||||
prompt_yesno(caller, "Save before quitting?",
|
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")
|
nocode = "self.caller.msg(self.caller.ndb._lineeditor.quit())", default="Y")
|
||||||
else:
|
else:
|
||||||
string = editor.quit()
|
string = editor.quit()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue