mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed double-click not working
This commit is contained in:
parent
9df0c023ed
commit
ea3c48af02
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ void UIListCtrl::MousePressed
|
|||
&& fabs(m_clickState.point.x - p.x) <= 2.0
|
||||
&& fabs(m_clickState.point.y - p.y) <= 2.0)
|
||||
{
|
||||
Event newev;
|
||||
Event newev(EV_UIListBase_ItemDoubleClicked);
|
||||
newev.AddInteger(m_currentItem);
|
||||
SendSignal(newev);
|
||||
m_clickState.time = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue