From TomG - support per-aircraft GUI dialogs a little easier.
This commit is contained in:
parent
e8dcb44ce7
commit
2999675234
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue