From 32c5a4c7ef276b337dbe6e00fc02310a4301d890 Mon Sep 17 00:00:00 2001 From: alves Date: Wed, 11 Mar 2026 18:01:37 +0800 Subject: [PATCH] feature code format. --- src/slic3r/GUI/WebPreprintDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/WebPreprintDialog.cpp b/src/slic3r/GUI/WebPreprintDialog.cpp index eb192a1f9c..ad397327b7 100644 --- a/src/slic3r/GUI/WebPreprintDialog.cpp +++ b/src/slic3r/GUI/WebPreprintDialog.cpp @@ -34,7 +34,7 @@ WebPreprintDialog::WebPreprintDialog() wxLogError("Could not init m_browser"); return; } - m_browser->Hide(); + //m_browser->Hide(); // Connect the webview events Bind(wxEVT_WEBVIEW_NAVIGATING, &WebPreprintDialog::OnNavigationRequest, this, m_browser->GetId()); @@ -120,9 +120,9 @@ void WebPreprintDialog::reload() void WebPreprintDialog::load_url(wxString &url) { wxGetApp().fltviews().add_view(m_browser, url); - - m_browser->LoadURL(url); m_browser->Show(); + m_browser->LoadURL(url); + Layout(); }