mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-11 19:17:33 +00:00
feature code format.
This commit is contained in:
@@ -34,7 +34,7 @@ WebPreprintDialog::WebPreprintDialog()
|
|||||||
wxLogError("Could not init m_browser");
|
wxLogError("Could not init m_browser");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_browser->Hide();
|
//m_browser->Hide();
|
||||||
|
|
||||||
// Connect the webview events
|
// Connect the webview events
|
||||||
Bind(wxEVT_WEBVIEW_NAVIGATING, &WebPreprintDialog::OnNavigationRequest, this, m_browser->GetId());
|
Bind(wxEVT_WEBVIEW_NAVIGATING, &WebPreprintDialog::OnNavigationRequest, this, m_browser->GetId());
|
||||||
@@ -120,9 +120,9 @@ void WebPreprintDialog::reload()
|
|||||||
void WebPreprintDialog::load_url(wxString &url)
|
void WebPreprintDialog::load_url(wxString &url)
|
||||||
{
|
{
|
||||||
wxGetApp().fltviews().add_view(m_browser, url);
|
wxGetApp().fltviews().add_view(m_browser, url);
|
||||||
|
|
||||||
m_browser->LoadURL(url);
|
|
||||||
m_browser->Show();
|
m_browser->Show();
|
||||||
|
m_browser->LoadURL(url);
|
||||||
|
|
||||||
Layout();
|
Layout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user