Automatically select the newly-created event via the Pencil tool

This commit is contained in:
Marcus Huderle 2020-04-26 19:47:57 -05:00
parent 333fe69dd8
commit 6a27536cbb

View file

@ -1070,6 +1070,7 @@ void Editor::mouseEvent_map(QGraphicsSceneMouseEvent *event, MapPixmapItem *item
DraggablePixmapItem * newEvent = addNewEvent(this->selected_events->first()->event->get("event_type"));
if (newEvent) {
newEvent->move(x, y);
selectMapEvent(newEvent, false);
}
}
} else if (map_edit_mode == "select") {