1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Fixed POI loading logic

This commit is contained in:
Martin Tůma 2016-03-19 09:05:40 +01:00
parent 50c768e12d
commit 816e1d1768

View File

@ -713,7 +713,9 @@ void GUI::poiFileChecked(int index)
{ {
_poi.enableFile(_poi.files().at(index), _poi.enableFile(_poi.files().at(index),
_poiFilesActions.at(index)->isChecked()); _poiFilesActions.at(index)->isChecked());
_track->clearPOI(); _track->clearPOI();
if (_showPOIAction->isChecked())
_track->loadPOI(_poi); _track->loadPOI(_poi);
} }