Changeset 19 for trunk/UCore.pas


Ignore:
Timestamp:
Mar 30, 2018, 12:13:24 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: FormContacts was not translated if created in runtime.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r18 r19  
    383383  UpdateInterface;
    384384  FormMain.UpdateInterface;
    385   if Assigned(DataFile) then
    386     FormContacts.Contacts := TContactsFile(DataFile).Contacts
    387     else FormContacts.Contacts := nil;
    388   FormContacts.ReloadList;
     385  if Assigned(FormContacts) then begin
     386    if Assigned(DataFile) then
     387      FormContacts.Contacts := TContactsFile(DataFile).Contacts
     388      else FormContacts.Contacts := nil;
     389    FormContacts.ReloadList;
     390  end;
    389391end;
    390392
Note: See TracChangeset for help on using the changeset viewer.