diff --git a/data/gui/dialogs/overworld_dialog.stkgui b/data/gui/dialogs/overworld_dialog.stkgui index f023697c6..5b5d775b3 100644 --- a/data/gui/dialogs/overworld_dialog.stkgui +++ b/data/gui/dialogs/overworld_dialog.stkgui @@ -3,12 +3,14 @@
- - + - + + + + + diff --git a/data/gui/dialogs/race_paused_dialog.stkgui b/data/gui/dialogs/race_paused_dialog.stkgui index 2f844c380..fb6f36af1 100644 --- a/data/gui/dialogs/race_paused_dialog.stkgui +++ b/data/gui/dialogs/race_paused_dialog.stkgui @@ -3,12 +3,14 @@
- - + - + + + + + diff --git a/src/states_screens/dialogs/race_paused_dialog.cpp b/src/states_screens/dialogs/race_paused_dialog.cpp index e436a7408..3aec57c2a 100644 --- a/src/states_screens/dialogs/race_paused_dialog.cpp +++ b/src/states_screens/dialogs/race_paused_dialog.cpp @@ -60,7 +60,7 @@ RacePausedDialog::RacePausedDialog(const float percentWidth, loadFromFile("race_paused_dialog.stkgui"); } - IconButtonWidget* back_btn = getWidget("backbtn"); + GUIEngine::RibbonWidget* back_btn = getWidget("backbtnribbon"); back_btn->setFocusForPlayer( PLAYER_ID_GAME_MASTER ); if (NetworkConfig::get()->isNetworking()) @@ -137,7 +137,7 @@ GUIEngine::EventPropagation GUIEngine::RibbonWidget* choice_ribbon = getWidget("choiceribbon"); - if (eventSource == "backbtn") + if (eventSource == "backbtnribbon") { // unpausing is done in the destructor so nothing more to do here ModalDialog::dismiss();