[GB.QT4]
* 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:
parent
9b20abedb0
commit
8d0d91f039
1 changed files with 2 additions and 1 deletions
|
@ -636,8 +636,9 @@ void CMENU_popup(CMENU *_object, const QPoint &pos)
|
||||||
|
|
||||||
if (_popup_menu_clicked)
|
if (_popup_menu_clicked)
|
||||||
{
|
{
|
||||||
send_click_event(_popup_menu_clicked);
|
CMENU *menu = _popup_menu_clicked;
|
||||||
_popup_menu_clicked = NULL;
|
_popup_menu_clicked = NULL;
|
||||||
|
send_click_event(menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
MENU_popup_count++;
|
MENU_popup_count++;
|
||||||
|
|
Loading…
Reference in a new issue