mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 23:32:00 +08:00
Remove sleep in webview dialog (related to SPE-2567)
This commit is contained in:
parent
8d775c7336
commit
33889d8e50
@ -15,8 +15,6 @@
|
||||
|
||||
#include <libslic3r/PresetBundle.hpp> // IWYU pragma: keep
|
||||
|
||||
#include <thread>
|
||||
|
||||
#include <wx/webview.h>
|
||||
#include <wx/display.h>
|
||||
|
||||
@ -706,7 +704,6 @@ void LoginWebViewDialog::on_navigation_request(wxWebViewEvent &evt)
|
||||
delete_cookies(m_browser, "https://appleid.apple.com");
|
||||
delete_cookies(m_browser, "https://facebook.com");
|
||||
evt.Veto();
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
||||
m_ret_val = into_u8(url);
|
||||
EndModal(wxID_OK);
|
||||
} else if (url.Find(L"accounts.google.com") != wxNOT_FOUND
|
||||
|
Loading…
x
Reference in New Issue
Block a user