mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
add also savegame
This commit is contained in:
parent
36ab973dc8
commit
287c0daaff
@ -216,7 +216,7 @@ void InfoCard::changeSelection()
|
|||||||
flagbox->recreate();
|
flagbox->recreate();
|
||||||
labelDifficulty->setText(CGI->generaltexth->arraytxt[142 + mapInfo->mapHeader->difficulty]);
|
labelDifficulty->setText(CGI->generaltexth->arraytxt[142 + mapInfo->mapHeader->difficulty]);
|
||||||
iconDifficulty->setSelected(SEL->getCurrentDifficulty());
|
iconDifficulty->setSelected(SEL->getCurrentDifficulty());
|
||||||
if(SEL->screenType == ESelectionScreen::loadGame)
|
if(SEL->screenType == ESelectionScreen::loadGame || SEL->screenType == ESelectionScreen::saveGame)
|
||||||
for(auto & button : iconDifficulty->buttons)
|
for(auto & button : iconDifficulty->buttons)
|
||||||
button.second->setEnabled(button.first == SEL->getCurrentDifficulty());
|
button.second->setEnabled(button.first == SEL->getCurrentDifficulty());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user