mirror of
https://github.com/Relintai/godot-resources-as-sheets-plugin.git
synced 2025-04-08 17:41:50 +02:00
Update editor_view.gd
remove await and test for 0 rows
This commit is contained in:
parent
eb20e0e2fd
commit
a181f3a060
@ -95,12 +95,7 @@ func display_folder(folderpath : String, sort_by : String = "", sort_reverse : b
|
||||
current_path = folderpath
|
||||
node_columns.update()
|
||||
|
||||
await get_tree().create_timer(0.25).timeout
|
||||
if node_table_root.get_child_count() == 0:
|
||||
display_folder(folderpath, sort_by, sort_reverse, force_rebuild)
|
||||
|
||||
else:
|
||||
emit_signal("grid_updated")
|
||||
emit_signal("grid_updated")
|
||||
|
||||
|
||||
func refresh(force_rebuild : bool = true):
|
||||
|
Loading…
Reference in New Issue
Block a user