Properly select an event after creating it
This commit is contained in:
parent
b2053e593f
commit
220d13c335
1 changed files with 1 additions and 1 deletions
|
@ -912,10 +912,10 @@ void MainWindow::addNewEvent(QString event_type)
|
|||
{
|
||||
if (editor) {
|
||||
DraggablePixmapItem *object = editor->addNewEvent(event_type);
|
||||
updateObjects();
|
||||
if (object) {
|
||||
editor->selectMapEvent(object, false);
|
||||
}
|
||||
updateObjects();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue