mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
fix
This commit is contained in:
parent
ceb70af528
commit
86e6f7d156
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user