repair damage: canceling the "save options" dialog now works again.

This commit is contained in:
Just van Rossum 2002-03-29 21:48:42 +00:00
parent 8bb61c8d4c
commit ca3d307271

View file

@ -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: