You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-07-12 22:30:17 +02:00
Fixed UpdateStringListPref and spell checker dictionaries in TFMXChromium
This commit is contained in:
@ -2077,6 +2077,8 @@ begin
|
||||
UpdatePreference(aBrowser, 'plugins.run_all_flash_in_allow_mode', FRunAllFlashInAllowMode);
|
||||
UpdatePreference(aBrowser, 'plugins.allow_outdated', FAllowOutdatedPlugins);
|
||||
UpdatePreference(aBrowser, 'plugins.always_authorize', FAlwaysAuthorizePlugins);
|
||||
UpdatePreference(aBrowser, 'browser.enable_spellchecking', FSpellChecking);
|
||||
UpdateStringListPref(aBrowser, 'spellcheck.dictionaries', FSpellCheckerDicts);
|
||||
|
||||
if FRunAllFlashInAllowMode then
|
||||
UpdatePreference(aBrowser, 'profile.default_content_setting_values.plugins', 1);
|
||||
@ -2331,7 +2333,7 @@ begin
|
||||
TempSL := nil;
|
||||
|
||||
try
|
||||
if (length(name) > 0) and (length(aValue) > 0) then
|
||||
if (length(aName) > 0) and (length(aValue) > 0) then
|
||||
begin
|
||||
TempSL := TStringList.Create;
|
||||
TempSL.CommaText := aValue;
|
||||
|
Reference in New Issue
Block a user