Fix double event select change
This commit is contained in:
parent
68905aae1c
commit
15e16798fc
1 changed files with 1 additions and 1 deletions
|
@ -999,7 +999,7 @@ void DraggablePixmapItem::mousePressEvent(QGraphicsSceneMouseEvent *mouse) {
|
|||
last_x = static_cast<int>(mouse->pos().x() + this->pos().x()) / 16;
|
||||
last_y = static_cast<int>(mouse->pos().y() + this->pos().y()) / 16;
|
||||
this->editor->selectMapEvent(this, mouse->modifiers() & Qt::ControlModifier);
|
||||
this->editor->updateSelectedEvents();
|
||||
//this->editor->updateSelectedEvents();
|
||||
selectingEvent = true;
|
||||
//qDebug() << QString("(%1, %2)").arg(event->get("x")).arg(event->get("y"));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue