mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
add safety check
This commit is contained in:
parent
515bd11477
commit
6d99cfbaa2
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue