aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/guiConfirmRegistration.cpp2
1 files changed, 1 insertions, 1 deletions
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()