1
0
Fork 0

src/Main/main.cxx: workaround for ui callbacks without default parent callbacks.

We now set VALUE_CHANGED_DOWN on /sim, otherwise popup text does not appear.
This commit is contained in:
Julian Smith 2021-06-02 19:03:10 +01:00
parent 07b676a6c8
commit 23b3c21669

View file

@ -617,6 +617,8 @@ int fgMainInit( int argc, char **argv )
}
}
globals->get_props()->getNode("/sim", true /*create*/)->setAttribute(SGPropertyNode::VALUE_CHANGED_DOWN, true);
{
SGPropertyNode* active = globals->get_props()->getNode("/sim/property-locking/active", true /*create*/);
SGPropertyNode* verbose = globals->get_props()->getNode("/sim/property-locking/verbose", true /*create*/);