Add layers in order defined by the layer manager

This commit is contained in:
Dan Paulat 2023-11-03 05:09:07 -05:00
parent 3392a9a402
commit cc0c82bbd2
3 changed files with 176 additions and 63 deletions

View file

@ -650,7 +650,7 @@ void MainWindowImpl::ConfigureMapLayout()
{
if (maps_.at(mapIndex) == nullptr)
{
maps_[mapIndex] = new map::MapWidget(settings_);
maps_[mapIndex] = new map::MapWidget(mapIndex, settings_);
}
hs->addWidget(maps_[mapIndex]);