From d7d8653224ec7997bc4f281052fbfb05dc5b4577 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 16 Mar 2015 16:59:59 -0400 Subject: Map editor now remembers last map you looked at --- tools/mapedit/src/frame.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/mapedit/src/frame.cpp') diff --git a/tools/mapedit/src/frame.cpp b/tools/mapedit/src/frame.cpp index 9d489b8..500f2c4 100644 --- a/tools/mapedit/src/frame.cpp +++ b/tools/mapedit/src/frame.cpp @@ -513,6 +513,7 @@ void MapeditFrame::SelectMap(Map* map) currentMap = map; mapEditor->SetMap(map); titleBox->ChangeValue(map->getTitle()); + world->setLastMap(map); } wxTreeItemId MapeditFrame::MoveTreeNode(wxTreeItemId toCopy, wxTreeItemId newParent) -- cgit 1.4.1