SaveTool: refresh unlocks when profile is updated.

This commit is contained in:
Guillaume Jacquemin 2021-08-07 15:29:00 +02:00
parent 7cfb8bbbcb
commit 08c1aa1050

View file

@ -190,6 +190,8 @@ void SaveTool::handleFileAction(efsw::WatchID watch_id,
_currentProfile->refreshValues(); _currentProfile->refreshValues();
if(_tree) { if(_tree) {
_tree->readEngineUnlocks(_currentProfile->engineInventory(), _currentProfile->gearInventory()); _tree->readEngineUnlocks(_currentProfile->engineInventory(), _currentProfile->gearInventory());
_tree->readOSUnlocks(_currentProfile->osInventory(), _currentProfile->moduleInventory());
_tree->readArchUnlocks(_currentProfile->archInventory(), _currentProfile->techInventory());
} }
} }
else if(Utility::String::endsWith(filename, _currentProfile->steamId() + ".sav")) { else if(Utility::String::endsWith(filename, _currentProfile->steamId() + ".sav")) {