godot/scene
Hein-Pieter van Braam e4733c5fc4 Delay emitting pressed signals in PopupMenu
When processing items we may actually delete the item we're processing
in the callback for the signal. To avoid this, call the signal after
we're done processing the items. But before hiding the popupmenu itself.

Thanks to @reduz for writing the whole solution.

This fixes #19842

(cherry picked from commit fa7eac8a0d)
2019-07-03 13:55:23 +02:00
..
2d Fix missing return on Navigation2D::get_closest_point_owner 2019-07-03 12:33:24 +02:00
3d Fix property hint for ReflectionProbe extents 2019-07-03 12:33:25 +02:00
animation Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
audio Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
gui Delay emitting pressed signals in PopupMenu 2019-07-03 13:55:23 +02:00
main Add missing NULL checks for add_child_below_node 2019-07-03 12:33:25 +02:00
resources Fix crash when you pass invalid parameter to ImageTexture.set_data 2019-07-03 13:35:41 +02:00
register_scene_types.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
register_scene_types.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
scene_string_names.cpp Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
scene_string_names.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
SCsub disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00