diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2018-08-16 21:44:18 +0200 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2018-08-16 21:44:18 +0200 |
commit | fa7eac8a0dfbd7271dcbdd398d4075c7f49d6836 (patch) | |
tree | dd1ad6ffbfdfe81ea2607e5c14f7515d4ca1d338 /core/packed_data_container.h | |
parent | 968b31e971da8040d939a38dcdfbc3445100daa8 (diff) |
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
Diffstat (limited to 'core/packed_data_container.h')
0 files changed, 0 insertions, 0 deletions