Skip to content

Commit

Permalink
'enter' closes SaveIDMessage interface after uploading a save
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Aug 4, 2017
1 parent 26f7033 commit fd91fa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/dialogues/SaveIDMessage.cpp
Expand Up @@ -49,6 +49,8 @@ SaveIDMessage::SaveIDMessage(int id):
okayButton->Appearance.VerticalAlign = ui::Appearance::AlignMiddle;
okayButton->SetActionCallback(new DismissAction(this));
AddComponent(okayButton);
// This button has multiple personalities
SetOkayButton(okayButton);
SetCancelButton(okayButton);

MakeActiveWindow();
Expand Down

0 comments on commit fd91fa4

Please sign in to comment.