mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-25 02:04:23 +00:00
WebView2: Fix nullptr check
This should ensure that the status bar and error page settings work as intended.
This commit is contained in:
parent
88853f7eda
commit
702bfdb2c0
1 changed files with 1 additions and 1 deletions
|
|
@ -609,7 +609,7 @@ private:
|
|||
ComSmartPtr<ICoreWebView2Settings> settings;
|
||||
webView->get_Settings (settings.resetAndGetPointerAddress());
|
||||
|
||||
if (settings == nullptr)
|
||||
if (settings != nullptr)
|
||||
{
|
||||
settings->put_IsStatusBarEnabled (! preferences.getIsStatusBarDisabled());
|
||||
settings->put_IsBuiltInErrorPageEnabled (! preferences.getIsBuiltInErrorPageDisabled());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue