mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-29 07:13:14 +08:00
FIX: Open New WebTab in Local Browser
JIRA: none Change-Id: I62baf32ec4ebb3130fe1721dbecbae8ed2533423
This commit is contained in:
parent
8d65ede5e0
commit
ba35ed5938
@ -1021,10 +1021,11 @@ void WebViewPanel::OnNewWindow(wxWebViewEvent& evt)
|
||||
if (wxGetApp().get_mode() == comDevelop)
|
||||
wxLogMessage("%s", "New window; url='" + evt.GetURL() + "'" + flag);
|
||||
|
||||
//If we handle new window events then just load them in this window as we
|
||||
//are a single window browser
|
||||
if (m_tools_handle_new_window->IsChecked())
|
||||
m_browser->LoadURL(evt.GetURL());
|
||||
//If we handle new window events then just load them in local browser
|
||||
if (m_tools_handle_new_window->IsChecked())
|
||||
{
|
||||
wxLaunchDefaultBrowser(evt.GetURL());
|
||||
}
|
||||
|
||||
UpdateState();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user