From 15e16798fc505ff543cba4736d55b98dcbfb7f88 Mon Sep 17 00:00:00 2001 From: Diegoisawesome Date: Fri, 30 Nov 2018 00:24:56 -0600 Subject: [PATCH] Fix double event select change --- src/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor.cpp b/src/editor.cpp index cd243dcb..499e5461 100644 --- a/src/editor.cpp +++ b/src/editor.cpp @@ -999,7 +999,7 @@ void DraggablePixmapItem::mousePressEvent(QGraphicsSceneMouseEvent *mouse) { last_x = static_cast(mouse->pos().x() + this->pos().x()) / 16; last_y = static_cast(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")); }