#13495: Avoid loading the color delegator twice in IDLE.

This commit is contained in:
Roger Serwy 2013-05-05 22:15:44 -05:00
parent 44571daf0e
commit 9bc7b793ea
3 changed files with 2 additions and 5 deletions

View file

@ -316,9 +316,6 @@ class EditorWindow(object):
self.good_load = True
is_py_src = self.ispythonsource(filename)
self.set_indentation_params(is_py_src)
if is_py_src:
self.color = color = self.ColorDelegator()
per.insertfilter(color)
else:
io.set_filename(filename)
self.good_load = True