Use map group order for initial map

This commit is contained in:
GriffinR
2025-05-16 03:09:50 -04:00
parent d14cca6891
commit 156546def6
3 changed files with 12 additions and 1 deletions

View File

@@ -878,7 +878,7 @@ bool MainWindow::setInitialMap() {
}
// Failed to open recent map/layout, or no recent map/layout. Try opening maps then layouts sequentially.
for (const auto &name : editor->project->mapNames()) {
for (const auto &name : editor->project->getMapNamesByGroup()) {
if (name != recent && setMap(name))
return true;
}