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:
parent
a4aa7595c0
commit
a8351bd544
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue