mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Fixed slider/marker item inconsistency on file reload.
This commit is contained in:
parent
35dea229b4
commit
40803d68c1
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user