You've already forked lazarus-ccr
LazMapViewer: Make sure that the Cache path exists.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8107 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1107,6 +1107,7 @@ end;
|
||||
|
||||
procedure TMapViewerEngine.SetCachePath(AValue: String);
|
||||
begin
|
||||
ForceDirectories(aValue);
|
||||
Cache.BasePath := aValue;
|
||||
end;
|
||||
|
||||
|
@ -384,7 +384,7 @@ end;
|
||||
|
||||
procedure TMapView.SetCachePath(AValue: String);
|
||||
begin
|
||||
Engine.CachePath := AValue; //CachePath;
|
||||
Engine.CachePath := AValue;
|
||||
end;
|
||||
|
||||
procedure TMapView.SetCenter(AValue: TRealPoint);
|
||||
|
Reference in New Issue
Block a user