Skip to content

Commit

Permalink
fix an issue that it can't be operated after the login dialog closing
Browse files Browse the repository at this point in the history
  • Loading branch information
womendoushihaoyin committed Dec 18, 2024
1 parent 7fe7d58 commit 12537e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slic3r/GUI/WebSMUserLoginDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 12537e8

Please sign in to comment.