mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 04:05:59 +08:00
add safety check
This commit is contained in:
parent
515bd11477
commit
6d99cfbaa2
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user