From 19633253f843c54f83e85ab71f23c3fcf521a5d5 Mon Sep 17 00:00:00 2001 From: garakmon Date: Sun, 13 Sep 2020 18:48:03 -0400 Subject: [PATCH] update objects when adding new event with button, closes #297 --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7b947db3..4bc85bd6 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1454,6 +1454,7 @@ void MainWindow::addNewEvent(QString event_type) if (editor && editor->project) { DraggablePixmapItem *object = editor->addNewEvent(event_type); if (object) { + updateObjects(); editor->selectMapEvent(object, false); } else { QMessageBox msgBox(this);