mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Use IsPopup instead.
This commit is contained in:
@@ -124,11 +124,7 @@ namespace CefSharp
|
||||
|
||||
void ClientAdapter::OnAddressChange(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, const CefString& address)
|
||||
{
|
||||
// If it's our toplevel browser frame then change the browser control's
|
||||
// address property.
|
||||
if (browser->GetIdentifier() == _cefBrowser->GetIdentifier()
|
||||
&& frame->IsMain()
|
||||
&& frame->GetParent() == nullptr)
|
||||
if (!browser->IsPopup())
|
||||
{
|
||||
_browserControl->SetAddress(StringUtils::ToClr(address));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user