summaryrefslogtreecommitdiff
path: root/core/method_bind.h
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2018-08-16 21:44:18 +0200
committerHein-Pieter van Braam <hp@tmm.cx>2018-08-16 21:44:18 +0200
commitfa7eac8a0dfbd7271dcbdd398d4075c7f49d6836 (patch)
treedd1ad6ffbfdfe81ea2607e5c14f7515d4ca1d338 /core/method_bind.h
parent968b31e971da8040d939a38dcdfbc3445100daa8 (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/method_bind.h')
0 files changed, 0 insertions, 0 deletions