* BUG: DblClick event raises the MouseDown event in all cases now.

[GB.QT5]
* BUG: DblClick event raises the MouseDown event in all cases now.
This commit is contained in:
gambas 2017-08-26 18:18:14 +02:00
parent 358e18707b
commit 7f559678f9

View file

@ -2696,7 +2696,7 @@ bool CWidget::eventFilter(QObject *widget, QEvent *event)
GB.Ref(control);
cancel = false;
if (GB.CanRaise(control, event_id))
if (GB.CanRaise(control, event_id) || (event_id == EVENT_DblClick && GB.CanRaise(control, EVENT_MouseDown)))
{
/*if (!design && CWIDGET_test_flag(control, WF_SCROLLVIEW))
{