From 12537e8030271b711ed83fff086142d79e868cc7 Mon Sep 17 00:00:00 2001 From: womendoushihaoyin Date: Wed, 18 Dec 2024 14:31:08 +0800 Subject: [PATCH] fix an issue that it can't be operated after the login dialog closing --- src/slic3r/GUI/WebSMUserLoginDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/WebSMUserLoginDialog.cpp b/src/slic3r/GUI/WebSMUserLoginDialog.cpp index 92ccf648935..5bd0bb7a07d 100644 --- a/src/slic3r/GUI/WebSMUserLoginDialog.cpp +++ b/src/slic3r/GUI/WebSMUserLoginDialog.cpp @@ -176,7 +176,7 @@ void SMUserLogin::OnNavigationRequest(wxWebViewEvent &evt) info->set_user_login(true); info->set_user_token(token); - this->Hide(); + this->EndModal(wxID_OK); wxGetApp().CallAfter([info, this]() { std::string url = m_userInfoUrl.ToStdString();