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):
37
37
n_intro_lbl .grab_focus ()
38
38
else :
39
39
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
41
41
42
42
func reset ():
43
43
n_core_options .clear ()
@@ -81,10 +81,10 @@ func _on_AddCore_pressed():
81
81
var idx : int = n_core_options .get_item_index (n_core_options .get_selected_id ())
82
82
n_core_options .remove_item (idx )
83
83
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 :
85
85
idx = 0
86
86
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
88
88
89
89
func tts_tree_item_text (item : TreeItem , tree : Tree ) -> String :
90
90
if tree == n_cores :
You can’t perform that action at this time.
0 commit comments