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:
parent
07b676a6c8
commit
23b3c21669
1 changed files with 2 additions and 0 deletions
|
@ -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*/);
|
||||
|
|
Loading…
Add table
Reference in a new issue