1
0
Fork 0

From TomG - support per-aircraft GUI dialogs a little easier.

This commit is contained in:
James Turner 2012-05-15 18:02:47 +01:00
parent e8dcb44ce7
commit 2999675234

View file

@ -68,6 +68,8 @@ NewGUI::init ()
setStyle();
SGPath p(globals->get_fg_root(), "gui/dialogs");
readDir(p);
const std::string aircraft_dir(fgGetString("/sim/aircraft-dir"));
readDir( SGPath(aircraft_dir, "gui/dialogs") );
_menubar->init();
}