Skip to content

Commit

Permalink
fix double click crash
Browse files Browse the repository at this point in the history
fixes #1062
  • Loading branch information
Vector-Hector committed May 24, 2024
1 parent 6c639b9 commit a1ca04f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IPlug/Extras/WebView/IPlugWebView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ void* IWebView::OpenWebView(void* pParent, float x, float y, float w, float h, f
mWebViewCtrlr = controller;
mWebViewCtrlr->get_CoreWebView2(&mWebViewWnd);
}

if (mWebViewWnd == nullptr) {
return S_OK;
}

mWebViewCtrlr->put_IsVisible(mShowOnLoad);

Expand Down

0 comments on commit a1ca04f

Please sign in to comment.