1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00

Merge remote-tracking branch 'upstream/develop' into develop

This commit is contained in:
Xilmi 2024-08-12 21:16:29 +02:00
commit b0933a1ff0

View File

@ -102,13 +102,12 @@ void CSelectionBase::toggleTab(std::shared_ptr<CIntObject> tab)
{
if(curTab && curTab->isActive())
{
curTab->deactivate();
curTab->recActions = 0;
curTab->disable();
}
if(curTab != tab)
{
tab->activate();
tab->enable();
curTab = tab;
}
else