If Moved() has been called, Clicked() can't be called anymore; this actually
fixes a crashing bug when dropping a column too fast. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22032 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
20c4c9e77e
commit
f7deaad7ee
@ -543,7 +543,7 @@ ColumnTrackState::MouseUp(BPoint where)
|
||||
{
|
||||
// if it is pressed shortly and not moved, it is a click
|
||||
// all else is a track
|
||||
if (system_time() <= fPastClickTime)
|
||||
if (system_time() <= fPastClickTime && !fHasMoved)
|
||||
Clicked(where);
|
||||
else
|
||||
Done(where);
|
||||
|
Loading…
Reference in New Issue
Block a user