mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Save a word!
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
This commit is contained in:
@@ -382,7 +382,7 @@ class SelectionList(Generic[SelectionType], OptionList):
|
|||||||
value: The value to toggle.
|
value: The value to toggle.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
Always `True`.
|
`True`.
|
||||||
"""
|
"""
|
||||||
if value in self._selected:
|
if value in self._selected:
|
||||||
self._deselect(value)
|
self._deselect(value)
|
||||||
|
|||||||
Reference in New Issue
Block a user