mirror of
https://github.com/huderlem/porymap.git
synced 2026-11-11 19:45:15 -06:00
Fix events not being cleared
This commit is contained in:
@@ -1148,6 +1148,7 @@ void Editor::unsetMap() {
|
||||
this->map->pruneEditHistory();
|
||||
this->map->disconnect(this);
|
||||
}
|
||||
clearMapEvents();
|
||||
clearMapConnections();
|
||||
|
||||
this->map = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user