if cards in multiple zones are selected, don't create drag items for the ones you're not supposed to move
This commit is contained in:
parent
6a52d65c4c
commit
3edecf98c3
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ void CardItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
|
|||
int j = 0;
|
||||
for (int i = 0; i < sel.size(); i++) {
|
||||
CardItem *c = (CardItem *) sel.at(i);
|
||||
if (c == this)
|
||||
if ((c == this) || (c->getZone() != zone))
|
||||
continue;
|
||||
++j;
|
||||
QPointF childPos;
|
||||
|
|
Loading…
Reference in a new issue