Kaydet (Commit) efc72583 authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Issue #22614: Don't try to update deleted text. Patch by Serhiy Storchaka.

üst ed8e3a98
......@@ -151,6 +151,9 @@ class PyShellEditorWindow(EditorWindow):
def color_breakpoint_text(self, color=True):
"Turn colorizing of breakpoint text on or off"
if self.io is None:
# possible due to update in restore_file_breaks
return
if color:
theme = idleConf.GetOption('main','Theme','name')
cfg = idleConf.GetHighlight(theme, "break")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment