mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 02:50:05 +00:00
Handle zero maps for debug configurations
This commit is contained in:
parent
3a11f4dc74
commit
601a2ad5aa
1 changed files with 8 additions and 1 deletions
|
|
@ -717,7 +717,14 @@ void MainWindowImpl::ConfigureMapLayout()
|
||||||
|
|
||||||
mainWindow_->ui->centralwidget->layout()->addWidget(vs);
|
mainWindow_->ui->centralwidget->layout()->addWidget(vs);
|
||||||
|
|
||||||
|
if (mapCount > 0)
|
||||||
|
{
|
||||||
SetActiveMap(maps_.at(0));
|
SetActiveMap(maps_.at(0));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetActiveMap(nullptr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindowImpl::ConfigureMapStyles()
|
void MainWindowImpl::ConfigureMapStyles()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue