Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Vector-Hector/iPlug2
Browse files Browse the repository at this point in the history
  • Loading branch information
Vector-Hector committed May 24, 2024
2 parents 6c639b9 + f27ef7c commit 986ee63
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 986ee63

Please sign in to comment.