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.
|
||||
|
||||
Returns:
|
||||
Always `True`.
|
||||
`True`.
|
||||
"""
|
||||
if value in self._selected:
|
||||
self._deselect(value)
|
||||
|
||||
Reference in New Issue
Block a user