Return result from IDialogHandler.OnOpenFile

This commit is contained in:
amaitland
2014-06-02 16:30:19 +10:00
parent 26ba66ff0e
commit aa651bf71e
+1 -2
View File
@@ -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;
}
}
}