mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-26 18:06:32 -05: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