mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-26 23:29:38 -05:00
add safety check
This commit is contained in:
1 parent
515bd11477
commit
6d99cfbaa2
1 file changed
+2
-1
@@ -63,7 +63,8 @@ void PrinterWebView::load_url(wxString& url)
|
||||
{
|
||||
// this->Show();
|
||||
// this->Raise();
|
||||
|
||||
if (m_browser == nullptr)
|
||||
return;
|
||||
m_browser->LoadURL(url);
|
||||
//m_browser->SetFocus();
|
||||
UpdateState();
|
||||
|
||||
Reference in new issue
Block a user