Skip to content

Commit

Permalink
libcommon|SaveSlots: Also refocus the cursor after deleting from the …
Browse files Browse the repository at this point in the history
…savegame menu
  • Loading branch information
danij-deng committed Feb 27, 2014
1 parent 1ed6d1e commit 2967b6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doomsday/plugins/common/src/saveslots.cpp
Expand Up @@ -81,7 +81,8 @@ DENG2_PIMPL_NOREF(SaveSlots::Slot)
MNEdit_SetText(ob, MNEDIT_STF_NO_ACTION, "");
}

if(Hu_MenuIsActive() && page == Hu_MenuActivePage())
if(Hu_MenuIsActive() &&
(Hu_MenuActivePage() == page || Hu_MenuActivePage() == Hu_MenuFindPageByName("SaveGame")))
{
// Re-open the active page to update focus if necessary.
Hu_MenuSetActivePage2(page, true);
Expand Down

0 comments on commit 2967b6c

Please sign in to comment.