mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-12 06:52:57 +00:00
feature remove the not work code.
This commit is contained in:
@@ -37,8 +37,7 @@ PrinterCloudAuthDialog::PrinterCloudAuthDialog(wxWindow* parent, PrintHost* host
|
||||
return;
|
||||
}
|
||||
m_browser->Hide();
|
||||
// GTK asserts on width < -1 and height <= 0; use minimal size for hidden widget
|
||||
m_browser->SetSize(1, 1);
|
||||
m_browser->SetSize(0, 0);
|
||||
|
||||
// Connect the webview events
|
||||
Bind(wxEVT_WEBVIEW_NAVIGATING, &PrinterCloudAuthDialog::OnNavigationRequest, this, m_browser->GetId());
|
||||
|
||||
Reference in New Issue
Block a user