Changeset 104 for trunk/Forms/UFormContact.pas
- Timestamp:
- Feb 9, 2022, 5:07:14 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormContact.pas
r103 r104 685 685 if EditHomeAddressCity.Text <> '' then Address := Address + ' ' + EditHomeAddressCity.Text; 686 686 if EditHomeAddressCountry.Text <> '' then Address := Address + ' ' + EditHomeAddressCountry.Text; 687 OpenURL(Core.MapUrl + URLEncode(Trim(Address))); 687 if Trim(Address) <> '' then 688 OpenURL(Core.MapUrl + URLEncode(Trim(Address))); 688 689 end; 689 690 … … 704 705 if EditWorkAddressCity.Text <> '' then Address := Address + ' ' + EditWorkAddressCity.Text; 705 706 if EditWorkAddressCountry.Text <> '' then Address := Address + ' ' + EditWorkAddressCountry.Text; 706 OpenURL(Core.MapUrl + URLEncode(Trim(Address))); 707 if Trim(Address) <> '' then 708 OpenURL(Core.MapUrl + URLEncode(Trim(Address))); 707 709 end; 708 710
Note:
See TracChangeset
for help on using the changeset viewer.