mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
repair damage: canceling the "save options" dialog now works again.
This commit is contained in:
parent
8bb61c8d4c
commit
ca3d307271
1 changed files with 3 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue