1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

fix models list reload after USB mass storage connection (#5963)

This commit is contained in:
Raphael Coeffic 2018-06-13 22:26:11 +02:00 committed by Bertrand Songis
parent 60423b81ad
commit 6595bcfc3c
2 changed files with 6 additions and 0 deletions

View file

@ -207,6 +207,11 @@ void storageReadAll()
createModel();
}
// Wipe models list in case
// it's being reloaded after USB connection
modelslist.clear();
// and reload the list
modelslist.load();
}