Bug report form now has an extra check to ensure the received array of tag options is the correct size.
This commit is contained in:
parent
097990dcbe
commit
275cc63225
@ -49,6 +49,9 @@ func _exit_tree():
|
||||
func fill_tags(tag_list:Array):
|
||||
__label_groups.resize(BugbotServerAPI.BugbotTagArray.MAX)
|
||||
__label_groups = tag_list
|
||||
if __label_groups.size() != BugbotServerAPI.BugbotTagArray.MAX:
|
||||
printerr("Invalid tag array format.")
|
||||
return
|
||||
|
||||
__product_name.text = ProjectSettings.get_setting("application/config/name", __DEFAULT_PRODUCT_NAME)
|
||||
__fill_item_list(__version_button, BugbotServerAPI.BugbotTagArray.VERSION)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user