Skip to content
Permalink
Browse files

Fix crash guiConfirmRegistration quit menu (#7313)

  • Loading branch information
Dumbeldor authored and nerzhul committed May 10, 2018
1 parent 50c33d9 commit a292d19fd0726cdd192469fbfc5f85770d5819e3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/guiConfirmRegistration.cpp
@@ -158,13 +158,13 @@ void GUIConfirmRegistration::drawMenu()

void GUIConfirmRegistration::closeMenu(bool goNext)
{
quitMenu();
if (goNext) {
m_client->confirmRegistration();
} else {
*m_aborted = true;
infostream << "Connect aborted [Escape]" << std::endl;
}
quitMenu();
}

void GUIConfirmRegistration::acceptInput()

0 comments on commit a292d19

Please sign in to comment.