mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 12:45:56 +08:00
fix of opening external browser
This commit is contained in:
parent
07320325e1
commit
23cc50c9f5
@ -1383,7 +1383,7 @@ void LoginWebViewDialog::on_navigation_request(wxWebViewEvent &evt)
|
||||
evt.Veto();
|
||||
m_ret_val = into_u8(url);
|
||||
EndModal(wxID_OK);
|
||||
} else if (!url.starts_with(L"https://account.prusa3d.com")) {
|
||||
} else if (!url.starts_with(L"https://account.prusa3d.com") && url.starts_with(L"http")) {
|
||||
m_ret_val = GUI::into_u8(url);
|
||||
EndModal(wxID_EXECUTE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user