mirror of https://github.com/kivy/kivy.git
Merge pull request #5844 from kivy/fix_5815
fix #5815 uncomplete node unselection in treeview
This commit is contained in:
commit
f80af6c9b9
|
@ -360,6 +360,7 @@ class TreeView(Widget):
|
|||
'''
|
||||
if self._selected_node:
|
||||
self._selected_node.is_selected = False
|
||||
self._selected_node = None
|
||||
|
||||
def toggle_node(self, node):
|
||||
'''Toggle the state of the node (open/collapsed).
|
||||
|
|
Loading…
Reference in New Issue