hopefully fixed CardInfoPopup freeze

This commit is contained in:
Max-Wilhelm Bruker 2011-05-30 15:54:33 +02:00
parent 04a96be84a
commit 15ca28bf37
3 changed files with 6 additions and 3 deletions

View file

@ -212,6 +212,9 @@ void AbstractCardItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
void AbstractCardItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
{
if (event->button() == Qt::MidButton)
emit deleteCardInfoPopup();
// This function ensures the parent function doesn't mess around with our selection.
event->accept();
}