Changeset 25 for trunk/Forms/UFormPreferences.pas
- Timestamp:
- Sep 10, 2022, 6:54:43 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormPreferences.pas
r19 r25 53 53 begin 54 54 CheckBoxRememberDatabase.Checked := Preferences.RememberDatabase; 55 Core. CoolTranslator1.LanguageListToStrings(ComboBoxLanguage.Items);56 ComboBoxLanguage.ItemIndex := ComboBoxLanguage.Items.IndexOfObject(Core. CoolTranslator1.Language);55 Core.Translator1.LanguageListToStrings(ComboBoxLanguage.Items); 56 ComboBoxLanguage.ItemIndex := ComboBoxLanguage.Items.IndexOfObject(Core.Translator1.Language); 57 57 if ComboBoxLanguage.ItemIndex = -1 then ComboBoxLanguage.ItemIndex := 0; 58 58 end; … … 62 62 Preferences.RememberDatabase := CheckBoxRememberDatabase.Checked; 63 63 if ComboBoxLanguage.ItemIndex <> -1 then 64 Core. CoolTranslator1.Language := TLanguage(ComboBoxLanguage.Items.Objects[ComboBoxLanguage.ItemIndex]);64 Core.Translator1.Language := TLanguage(ComboBoxLanguage.Items.Objects[ComboBoxLanguage.ItemIndex]); 65 65 end; 66 66
Note:
See TracChangeset
for help on using the changeset viewer.