diff --git a/data/gui/user_screen.stkgui b/data/gui/user_screen.stkgui index 5e1ff10a6..3946f47b6 100644 --- a/data/gui/user_screen.stkgui +++ b/data/gui/user_screen.stkgui @@ -61,5 +61,6 @@ + diff --git a/data/gui/user_screen_tab.stkgui b/data/gui/user_screen_tab.stkgui index a4e528454..c98a6ff3c 100644 --- a/data/gui/user_screen_tab.stkgui +++ b/data/gui/user_screen_tab.stkgui @@ -70,5 +70,6 @@ + diff --git a/src/states_screens/user_screen.cpp b/src/states_screens/user_screen.cpp index 217b094b3..7e9dcfb8e 100644 --- a/src/states_screens/user_screen.cpp +++ b/src/states_screens/user_screen.cpp @@ -284,6 +284,10 @@ void BaseUserScreen::eventCallback(Widget* widget, deletePlayer(); } } // options + else if (name == "back") + { + StateManager::get()->escapePressed(); + } return;