[Python-checkins] r65569 - sandbox/trunk/ttk-gsoc/src/idlelib/tabbedpages_old.py
guilherme.polo
python-checkins at python.org
Thu Aug 7 14:32:35 CEST 2008
Author: guilherme.polo
Date: Thu Aug 7 14:32:35 2008
New Revision: 65569
Log:
There was one place more to update after changing tab title
Modified:
sandbox/trunk/ttk-gsoc/src/idlelib/tabbedpages_old.py
Modified: sandbox/trunk/ttk-gsoc/src/idlelib/tabbedpages_old.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/src/idlelib/tabbedpages_old.py (original)
+++ sandbox/trunk/ttk-gsoc/src/idlelib/tabbedpages_old.py Thu Aug 7 14:32:35 2008
@@ -433,6 +433,7 @@
self._tab_set._tab_names[self._tab_set._tab_names.index(old)] = newtitle
self._tab_set._tabs[newtitle] = self._tab_set._tabs.pop(old)
self._tab_set._tabs[newtitle].button['text'] = newtitle
+ self._tab_set._tabs[newtitle].name = newtitle
if self._tab_set._selected_tab == old:
self._tab_set._selected_tab = newtitle
if self._current_page == old:
More information about the Python-checkins
mailing list