Merge pull request #1233 from Fizztastic/fix_340
Play cards only with double left click
This commit is contained in:
commit
2bd0133055
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue