Skip to content

Commit 133656e

Browse files
authored
Merge branch 'main' into fix-ol-render-line
2 parents 6f02bd9 + 49ff0e0 commit 133656e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111

1212
- Fixed `Link` binding to open the link https://github.com/Textualize/textual/issues/5564
1313
- Fixed IndexError in OptionList https://github.com/Textualize/textual/pull/5574
14+
- Fixed issue with clear_panes breaking tabbed content https://github.com/Textualize/textual/pull/5573
1415

1516
## [2.1.0] - 2025-02-19
1617

src/textual/widgets/_tabs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def clear(self) -> AwaitComplete:
526526
underline = self.query_one(Underline)
527527
underline.highlight_start = 0
528528
underline.highlight_end = 0
529-
self.call_after_refresh(self.post_message, self.Cleared(self))
529+
self.post_message(self.Cleared(self))
530530
self.active = ""
531531
return AwaitComplete(self.query("#tabs-list > Tab").remove())
532532

0 commit comments

Comments
 (0)