Skip to content

Commit

Permalink
add docstring and changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
TomJGooding committed Nov 7, 2024
1 parent c9c56bb commit eb6a8f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed

- Fixed duplicated key displays in the help panel https://github.com/Textualize/textual/issues/5037
- Fixed crash when removing then adding panes to `TabbedContent` https://github.com/Textualize/textual/issues/5215

## [0.85.2] - 2024-11-02

Expand Down
1 change: 1 addition & 0 deletions src/textual/widgets/_tabbed_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ def __init__(
self._tab_content: list[Widget] = []
self._initial = initial
self._cumulative_tab_count = 0
"""Tracks the total number of tabs added to ensure unique IDs if tabs are removed"""
super().__init__(name=name, id=id, classes=classes, disabled=disabled)

@property
Expand Down

0 comments on commit eb6a8f4

Please sign in to comment.