Merge pull request #5844 from kivy/fix_5815

fix #5815 uncomplete node unselection in treeview
This commit is contained in:
Gabriel Pettier 2018-07-08 12:52:00 +02:00 committed by GitHub
commit f80af6c9b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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).