Fix #4103
This commit is contained in:
parent
2adeb7334e
commit
b4b346e7a6
@ -24,10 +24,10 @@
|
||||
<spacer height="3%" width="1"/>
|
||||
|
||||
<buttonbar id="actions" height="20%" width="30%" align="center">
|
||||
<icon-button id="back" icon="gui/icons/back.png"
|
||||
width="128" height="128" text="Back"/>
|
||||
<icon-button id="start" icon="gui/icons/green_check.png"
|
||||
width="128" height="128" text="Start Race"/>
|
||||
<icon-button id="back" icon="gui/icons/back.png"
|
||||
width="128" height="128" text="Back"/>
|
||||
</buttonbar>
|
||||
|
||||
</div>
|
||||
|
@ -182,8 +182,7 @@ SelectChallengeDialog::SelectChallengeDialog(const float percentWidth,
|
||||
track_manager->getTrack(c->getData()->getTrackId())->getName();
|
||||
getWidget<LabelWidget>("title")->setText(track_name, true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if (PlayerManager::getCurrentPlayer()->isLocked("difficulty_best"))
|
||||
{
|
||||
@ -195,6 +194,10 @@ SelectChallengeDialog::SelectChallengeDialog(const float percentWidth,
|
||||
getWidget<IconButtonWidget>("supertux")->unsetBadge(LOCKED_BADGE);
|
||||
getWidget<IconButtonWidget>("supertux")->setActive(true);
|
||||
}
|
||||
|
||||
GUIEngine::RibbonWidget* actions =
|
||||
getWidget<GUIEngine::RibbonWidget>("actions");
|
||||
actions->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user