]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel_io.cxx
make --enable-osgviewer the default
[flightgear.git] / src / Cockpit / panel_io.cxx
index ad33b109d6a87806a1e10d13564579fe10d1a6a3..d017fb93c8e0987d1df6ba4a5cd8f650ed999ebb 100644 (file)
@@ -680,6 +680,8 @@ readPanel (const SGPropertyNode * root)
   if (!fgHasNode("/sim/panel/y-offset"))
     fgSetInt("/sim/panel/y-offset", root->getIntValue("y-offset", 0));
 
+  panel->setAutohide(root->getBoolValue("autohide", true));
+
   //
   // Assign the background texture, if any, or a bogus chequerboard.
   //