File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
77
8+ ## [ 2.0.3] - 2025-02-16
9+
10+ ### Fixed
11+
12+ - Fixed traceback from OptionList in Command Palette
13+
814## [ 2.0.2] - 2025-02-16
915
1016### Fixed
@@ -2729,6 +2735,7 @@ https://textual.textualize.io/blog/2022/11/08/version-040/#version-040
27292735- New handler system for messages that doesn't require inheritance
27302736- Improved traceback handling
27312737
2738+ [ 2.0.3 ] : https://github.com/Textualize/textual/compare/v2.0.2...v2.0.3
27322739[ 2.0.2 ] : https://github.com/Textualize/textual/compare/v2.0.1...v2.0.2
27332740[ 2.0.1 ] : https://github.com/Textualize/textual/compare/v2.0.0...v2.0.1
27342741[ 2.0.0 ] : https://github.com/Textualize/textual/compare/v1.0.0...v2.0.0
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " textual"
3- version = " 2.0.2 "
3+ version = " 2.0.3 "
44homepage = " https://github.com/Textualize/textual"
55repository = " https://github.com/Textualize/textual"
66documentation = " https://textual.textualize.io/"
Original file line number Diff line number Diff line change @@ -834,10 +834,10 @@ def render_line(self, y: int) -> Strip:
834834 line_number = self .scroll_offset .y + y
835835 try :
836836 option_index , line_offset = self ._lines [line_number ]
837+ option = self .options [option_index ]
837838 except IndexError :
838839 return Strip .blank (self .scrollable_content_region .width )
839840
840- option = self .options [option_index ]
841841 mouse_over = self ._mouse_hovering_over == option_index
842842 component_class = ""
843843 if option .disabled :
You can’t perform that action at this time.
0 commit comments