File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
scenes/config/settings/system Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ func start(cores: Array, existing: Array):
3737 n_intro_lbl .grab_focus ()
3838 else :
3939 n_core_options .grab_focus ()
40- n_add_core .disabled = n_core_options .get_child_count () == 0
40+ n_add_core .disabled = n_core_options .item_count == 0
4141
4242func reset ():
4343 n_core_options .clear ()
@@ -81,10 +81,10 @@ func _on_AddCore_pressed():
8181 var idx : int = n_core_options .get_item_index (n_core_options .get_selected_id ())
8282 n_core_options .remove_item (idx )
8383 idx -= 1
84- if idx < 0 and n_core_options .get_item_count () > 0 :
84+ if idx < 0 and n_core_options .item_count > 0 :
8585 idx = 0
8686 n_core_options .selected = idx
87- n_add_core .disabled = n_core_options .get_item_count () == 0
87+ n_add_core .disabled = n_core_options .item_count == 0
8888
8989func tts_tree_item_text (item : TreeItem , tree : Tree ) -> String :
9090 if tree == n_cores :
You can’t perform that action at this time.
0 commit comments