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);
|
procedure TMapViewerEngine.SetCachePath(AValue: String);
|
||||||
begin
|
begin
|
||||||
|
ForceDirectories(aValue);
|
||||||
Cache.BasePath := aValue;
|
Cache.BasePath := aValue;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -384,7 +384,7 @@ end;
|
|||||||
|
|
||||||
procedure TMapView.SetCachePath(AValue: String);
|
procedure TMapView.SetCachePath(AValue: String);
|
||||||
begin
|
begin
|
||||||
Engine.CachePath := AValue; //CachePath;
|
Engine.CachePath := AValue;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TMapView.SetCenter(AValue: TRealPoint);
|
procedure TMapView.SetCenter(AValue: TRealPoint);
|
||||||
|
Reference in New Issue
Block a user