Skip to content

Commit c72bb2c

Browse files
Commit
1 parent 792acaa commit c72bb2c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Lib/idlelib/editor.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,11 +1013,14 @@ def saved_change_hook(self):
10131013
# that doesn't match platform conventions.
10141014
title = short + " - " + long + _py_version
10151015
elif short:
1016-
title = short + _py_version
1016+
if short == "IDLE Shell":
1017+
title = short + _py_version
1018+
else:
1019+
title = short
10171020
elif long:
1018-
title = long + _py_version
1021+
title = long
10191022
else:
1020-
title = "untitled" + _py_version
1023+
title = "untitled"
10211024
icon = short or long or title
10221025
if not self.get_saved():
10231026
title = "*%s*" % title

0 commit comments

Comments
 (0)