Skip to content

Commit

Permalink
Don't emit a normal call to a function for closing panels
Browse files Browse the repository at this point in the history
  • Loading branch information
WizardCM committed Nov 2, 2024
1 parent a76b4d8 commit 082a0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/browser-panel-client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ bool QCefBrowserClient::OnBeforePopup(CefRefPtr<CefBrowser>, CefRefPtr<CefFrame>
void QCefBrowserClient::OnBeforeClose(CefRefPtr<CefBrowser>)
{
if (widget) {
emit widget->CloseSafely();
widget->CloseSafely();
}
}

Expand Down

0 comments on commit 082a0a2

Please sign in to comment.