1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-15 20:03:15 +02:00

small optimisation

This commit is contained in:
Laserlicht
2023-10-21 02:16:42 +02:00
committed by GitHub
parent 0eba0ee686
commit 9a116f9b20

View File

@@ -113,9 +113,11 @@ void CSelectionBase::toggleTab(std::shared_ptr<CIntObject> tab)
}
if(tabSel->showRandom)
{
tabSel->curFolder = "";
tabSel->showRandom = false;
tabSel->filter(0, true);
tabSel->filter(0, true);
tabSel->showRandom = false;
}
GH.windows().totalRedraw();
}