Automatically select the newly-created event via the Pencil tool
This commit is contained in:
parent
333fe69dd8
commit
6a27536cbb
1 changed files with 1 additions and 0 deletions
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue