mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-30 11:56:37 -05:00
Properly select an event after creating it
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user