]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/new_gui.cxx
Don't restore initial screen geometry because there is nothing in fg_os* to resize...
[flightgear.git] / src / GUI / new_gui.cxx
index 49fc3fbc501a37cdd0c84643614b528910b4cb6b..4cb0fe882967e714be275e458036a7afc64cb620 100644 (file)
@@ -306,7 +306,7 @@ NewGUI::setStyle (void)
     //puSetDefaultStyle();
 
     int which = fgGetInt("/sim/gui/current-style", 0);
-    SGPropertyNode *sim = globals->get_props()->getNode("sim/gui");
+    SGPropertyNode *sim = globals->get_props()->getNode("sim/gui", true);
     SGPropertyNode *n = sim->getChild("style", which);
     if (!n)
         n = sim->getChild("style", 0, true);