From aa651bf71edacdc3b25c200495c845088cec4e5e Mon Sep 17 00:00:00 2001 From: amaitland Date: Mon, 2 Jun 2014 16:30:19 +1000 Subject: [PATCH] Return result from IDialogHandler.OnOpenFile --- CefSharp.Core/Internals/ClientAdapter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CefSharp.Core/Internals/ClientAdapter.cpp b/CefSharp.Core/Internals/ClientAdapter.cpp index 264553da9..5ec5356c5 100644 --- a/CefSharp.Core/Internals/ClientAdapter.cpp +++ b/CefSharp.Core/Internals/ClientAdapter.cpp @@ -444,8 +444,7 @@ namespace CefSharp result = handler->OnOpenFile(_browserControl, StringUtils::ToClr(title), StringUtils::ToClr(default_file_name), StringUtils::ToClr(accept_types), resultString); callback->Continue(StringUtils::ToNative(resultString)); - // Unknown dialog type, so we return "not handled". - return false; + return result; } } }