#17798: Allow IDLE to edit new files when specified on command line.

This commit is contained in:
Roger Serwy 2013-05-05 11:34:21 -05:00
parent fd417cc54b
commit 5b1ab24751
2 changed files with 4 additions and 0 deletions

View file

@ -321,6 +321,8 @@ class EditorWindow(object):
per.insertfilter(color)
else:
io.set_filename(filename)
self.good_load = True
self.ResetColorizer()
self.saved_change_hook()
self.update_recent_files_list()