add install metadata to group menu metadata array

This commit is contained in:
Lera Elvoé 2023-05-26 01:48:12 +03:00
parent 040a9ad1af
commit ba3e2751dd
Signed by: yagich
SSH Key Fingerprint: SHA256:6xjGb6uA7lAVcULa7byPEN//rQ0wPoG+UzYVMfZnbvc

View File

@ -56,6 +56,7 @@ func add_new_install() -> void:
child_container.add_child(install_item) child_container.add_child(install_item)
install_item.setup_from_metadata(install_edit_dialog.get_install_metadata()) install_item.setup_from_metadata(install_edit_dialog.get_install_metadata())
install_item.edit_item_button_pressed.connect(edit_install.bind(install_item)) install_item.edit_item_button_pressed.connect(edit_install.bind(install_item))
group_metadata.installs.append(install_edit_dialog.get_install_metadata())
, CONNECT_ONE_SHOT) , CONNECT_ONE_SHOT)
install_edit_dialog.show() install_edit_dialog.show()