So, purchased this plugin for 5.3 to open pdfs. Great plugin, has an ‘open’ button that lets you pick a file with a file dialog. Saw the demo of it working, but when I tried it I got this error saying ‘Filedialogs are prevented’ I managed to find this error in one function, but it seems strange, because it seems like this function is set up to always block them and I can’t seme to find any way in the project settings to enable them.
Here is the function:
bool FCEFWebBrowserWindow::OnFileDialog(CefDialogHandler::FileDialogMode Mode, const CefString& DialogTitle, const CefString& DefaultFilePath, const std::vector<CefString>& AcceptFilters, int SelectedAcceptFilter, CefRefPtr<CefFileDialogCallback> Callback)
{
// This would prevent a file dialog from opening.
UE_LOG(LogWebBrowser, Error, TEXT("FileDialogs are prevented."));
return true;
}
Has anyone worked with this function before, or know a way (other than overriding it since this is launcher) to allow it to work? It’s bizarre that this is hardcoded to block.