Skip to content

Commit dfaf009

Browse files
Event handler should return "break".
1 parent 932c2fe commit dfaf009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/idlelib/iomenu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def save(self, event):
226226
default=messagebox.CANCEL,
227227
parent=self.text)
228228
if not confirm:
229-
return
229+
return "break"
230230

231231
if self.writefile(self.filename):
232232
self.file_timestamp = os.stat(self.filename).st_mtime

0 commit comments

Comments
 (0)