1
0
Fork 0

Reset: avoid terraSync warning

Avoid the old value being set, which causes the ‘terrasync-dir not
saved’ warning to appear incorrectly on reset.
This commit is contained in:
James Turner 2021-01-07 09:57:30 +00:00
parent a4aa7595c0
commit a8351bd544

View file

@ -644,6 +644,9 @@ FGGlobals::resetPropertyRoot()
{
delete locale;
// avoid a warning when we processOptions after reset
terrasync_dir = SGPath{};
cleanupListeners();
// we don't strictly need to clear these (they will be reset when we