From a292d19fd0726cdd192469fbfc5f85770d5819e3 Mon Sep 17 00:00:00 2001 From: Vincent Glize Date: Thu, 10 May 2018 13:50:06 +0200 Subject: [PATCH] Fix crash guiConfirmRegistration quit menu (#7313) --- src/gui/guiConfirmRegistration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/guiConfirmRegistration.cpp b/src/gui/guiConfirmRegistration.cpp index 81033eebf..92ca94d42 100644 --- a/src/gui/guiConfirmRegistration.cpp +++ b/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() -- 2.25.1