* BUG: Imbrication of popup menu click events works correctly now and does 
  not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2013-12-27 01:04:18 +00:00
parent 9b20abedb0
commit 8d0d91f039

View file

@ -636,8 +636,9 @@ void CMENU_popup(CMENU *_object, const QPoint &pos)
if (_popup_menu_clicked)
{
send_click_event(_popup_menu_clicked);
CMENU *menu = _popup_menu_clicked;
_popup_menu_clicked = NULL;
send_click_event(menu);
}
MENU_popup_count++;