1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00
This commit is contained in:
Laserlicht 2023-10-21 02:26:03 +02:00 committed by GitHub
parent ceb70af528
commit 86e6f7d156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ void CSelectionBase::toggleTab(std::shared_ptr<CIntObject> tab)
curTab.reset();
}
if(tabSel->showRandom)
if(tabSel->showRandom && tab != tabOpt)
{
tabSel->curFolder = "";
tabSel->showRandom = false;