Fixed typo that messed up panel toggling from the menu.
This commit is contained in:
parent
e9b492af4f
commit
bfcef94570
1 changed files with 4 additions and 1 deletions
|
@ -316,9 +316,12 @@ static void loadFlight(puObject *cb)
|
|||
void guiTogglePanel(puObject *cb)
|
||||
{
|
||||
if (fgGetBool("/sim/panel/visibility"))
|
||||
fgSetBool("/sim/panel/visiblity", false);
|
||||
fgSetBool("/sim/panel/visibility", false);
|
||||
else
|
||||
fgSetBool("/sim/panel/visibility", true);
|
||||
|
||||
fgReshape(fgGetInt("/sim/startup/xsize"),
|
||||
fgGetInt("/sim/startup/ysize"));
|
||||
}
|
||||
|
||||
//void MenuHideMenuCb(puObject *cb)
|
||||
|
|
Loading…
Add table
Reference in a new issue