mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 11:52:08 +01:00
Change the open path on options change
This commit is contained in:
parent
15f194a848
commit
199806a107
@ -1060,6 +1060,13 @@ void GUI::openOptions()
|
|||||||
if (options.enableHTTP2 != _options.enableHTTP2)
|
if (options.enableHTTP2 != _options.enableHTTP2)
|
||||||
Downloader::enableHTTP2(options.enableHTTP2);
|
Downloader::enableHTTP2(options.enableHTTP2);
|
||||||
|
|
||||||
|
if (options.dataPath != _options.dataPath)
|
||||||
|
_dataDir = options.dataPath;
|
||||||
|
if (options.mapsPath != _options.mapsPath)
|
||||||
|
_mapDir = options.mapsPath;
|
||||||
|
if (options.poiPath != _options.poiPath)
|
||||||
|
_poiDir = options.poiPath;
|
||||||
|
|
||||||
if (reload)
|
if (reload)
|
||||||
reloadFiles();
|
reloadFiles();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user