qt-branch: Make dragging with the right mouse button work.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/qt@9237 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
dd09ed22f3
commit
52b91bfc53
|
@ -360,7 +360,7 @@ void WzMainWindow::mousePressEvent(QMouseEvent *event)
|
|||
aMouseState[idx].lastdown = 0;
|
||||
}
|
||||
|
||||
if (idx < 2) // Not the mousewheel
|
||||
if (idx == MOUSE_LMB || idx == MOUSE_RMB) // Not the mousewheel. I'm running around in the mouse wheel, but not getting anywhere. Squeak!
|
||||
{
|
||||
dragKey = idx;
|
||||
dragX = mouseX();
|
||||
|
|
Loading…
Reference in New Issue