1
0
Fork 0

Joystick/dialog caches, commit the transactions.

This commit is contained in:
James Turner 2013-01-25 09:30:31 +01:00
parent 37900e22a8
commit 11f15a9b36
2 changed files with 4 additions and 0 deletions

View file

@ -323,6 +323,8 @@ NewGUI::readDir (const SGPath& path)
cache->stampCacheFile(xmlPath);
cache->writeStringProperty(xmlPath.str(), name);
} // of directory children iteration
txn.commit();
}
////////////////////////////////////////////////////////////////////////
// Style handling.

View file

@ -117,6 +117,8 @@ void FGDeviceConfigurationMap::scan_dir(const SGPath & path)
} // of cached file stamp is valid
} // of child is a file with '.xml' extension
} // of directory children iteration
txn.commit();
}
void FGDeviceConfigurationMap::readCachedData(const SGPath& path)