Merge pull request #1233 from Fizztastic/fix_340

Play cards only with double left click
This commit is contained in:
Zach 2015-07-08 18:09:31 -04:00
commit 2bd0133055

View file

@ -358,7 +358,7 @@ void CardItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
void CardItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
{
if (settingsCache->getDoubleClickToPlay()) {
if (settingsCache->getDoubleClickToPlay() && event->buttons() == Qt::LeftButton) {
if (revealedCard)
zone->removeCard(this);
else