mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
add safety check
This commit is contained in:
@@ -63,7 +63,8 @@ void PrinterWebView::load_url(wxString& url)
|
|||||||
{
|
{
|
||||||
// this->Show();
|
// this->Show();
|
||||||
// this->Raise();
|
// this->Raise();
|
||||||
|
if (m_browser == nullptr)
|
||||||
|
return;
|
||||||
m_browser->LoadURL(url);
|
m_browser->LoadURL(url);
|
||||||
//m_browser->SetFocus();
|
//m_browser->SetFocus();
|
||||||
UpdateState();
|
UpdateState();
|
||||||
|
|||||||
Reference in New Issue
Block a user