diff options
author | Just van Rossum <just@letterror.com> | 2002-03-29 21:48:42 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2002-03-29 21:48:42 (GMT) |
commit | ca3d307271fc0133a4fc5aa2981e823dd62a1f9b (patch) | |
tree | 587d13f16484d779b47751ad1a7664cb17d54561 /Mac/Tools | |
parent | 8bb61c8d4cc3cd3b75f4413442625a8620d054e3 (diff) | |
download | cpython-ca3d307271fc0133a4fc5aa2981e823dd62a1f9b.zip cpython-ca3d307271fc0133a4fc5aa2981e823dd62a1f9b.tar.gz cpython-ca3d307271fc0133a4fc5aa2981e823dd62a1f9b.tar.bz2 |
repair damage: canceling the "save options" dialog now works again.
Diffstat (limited to 'Mac/Tools')
-rw-r--r-- | Mac/Tools/IDE/PyEdit.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Mac/Tools/IDE/PyEdit.py b/Mac/Tools/IDE/PyEdit.py index 07b7277..91a7ab1 100644 --- a/Mac/Tools/IDE/PyEdit.py +++ b/Mac/Tools/IDE/PyEdit.py @@ -315,11 +315,10 @@ class Editor(W.Window): self.editgroup.editor.settabsettings(tabsettings) def domenu_options(self, *args): - rvcreator, rveoln = SaveOptions(self._creator, self._eoln) - if rvcreator != self._creator or rveoln != self._eoln: + rv = SaveOptions(self._creator, self._eoln) + if rv: self.editgroup.editor.selectionchanged() # ouch... - self._creator = rvcreator - self._eoln = rveoln + self._creator, self._eoln = rv def clicklinefield(self): if self._currentwidget <> self.linefield: |