mirror of
https://github.com/huderlem/porymap.git
synced 2026-11-10 19:08:22 -06:00
Reserve MAP_DYNAMIC, fix some MAPSEC displays not updating, new error messages/handling
This commit is contained in:
@@ -832,10 +832,6 @@ QString MainWindow::getLocation() {
|
||||
void MainWindow::setLocation(QString location) {
|
||||
if (!this->editor || !this->editor->map || !this->editor->project)
|
||||
return;
|
||||
if (!this->editor->project->mapSectionIdNames.contains(location)) {
|
||||
logError(QString("Unknown location '%1'").arg(location));
|
||||
return;
|
||||
}
|
||||
this->editor->map->header()->setLocation(location);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user