FIX: fix a crash issue of mac os
GITHUB: https://github.com/bambulab/BambuStudio/issues/2573 Change-Id: Ic365bc411dd829701ce4ffd0090b09367cb6eddc Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
7744f5e479
commit
8c71fc192f
|
@ -37,12 +37,14 @@ PrinterWebView::PrinterWebView(wxWindow *parent)
|
|||
topsizer->Add(m_browser, wxSizerFlags().Expand().Proportion(1));
|
||||
|
||||
// Log backend information
|
||||
/* m_browser->GetUserAgent() may lead crash
|
||||
if (wxGetApp().get_mode() == comDevelop) {
|
||||
wxLogMessage(wxWebView::GetBackendVersionInfo().ToString());
|
||||
wxLogMessage("Backend: %s Version: %s", m_browser->GetClassInfo()->GetClassName(),
|
||||
wxWebView::GetBackendVersionInfo().ToString());
|
||||
wxLogMessage("User Agent: %s", m_browser->GetUserAgent());
|
||||
}
|
||||
*/
|
||||
|
||||
//Zoom
|
||||
m_zoomFactor = 100;
|
||||
|
|
Loading…
Reference in New Issue