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

Fixed slider/marker item inconsistency on file reload.

This commit is contained in:
Martin Tůma 2016-06-06 20:38:10 +02:00
parent 35dea229b4
commit 40803d68c1

View File

@ -738,6 +738,8 @@ void GUI::reloadFile()
_heartRateGraph->clear(); _heartRateGraph->clear();
_track->clear(); _track->clear();
_sliderPos = 0;
for (int i = 0; i < _files.size(); i++) { for (int i = 0; i < _files.size(); i++) {
if (!loadFile(_files.at(i))) { if (!loadFile(_files.at(i))) {
_files.removeAt(i); _files.removeAt(i);