clean current file and tree item references when regenerating tree
This commit is contained in:
parent
68b4a03a3f
commit
df2dc1097e
@ -100,6 +100,9 @@ func set_server_dir(dir: String) -> void:
|
||||
|
||||
|
||||
func _reconstruct_tree_from_working_files() -> void:
|
||||
current_file = null
|
||||
current_tree_selection = null
|
||||
|
||||
file_tree.clear()
|
||||
var root: TreeItem = file_tree.create_item()
|
||||
root.set_text(0, "Server files")
|
||||
|
Loading…
Reference in New Issue
Block a user