]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_commands.cxx
allow to trigger widgets via accelerator key, which is defined via "keynum"
[flightgear.git] / src / Main / fg_commands.cxx
index 3a63fdb3e5fa98872427ca7bd5722939b76960d5..8db3908dd6e66f5eb8276bafb5f71b6f6fce1ad6 100644 (file)
@@ -22,7 +22,7 @@
 #include <GUI/gui.h>
 #include <GUI/new_gui.hxx>
 #include <GUI/dialog.hxx>
-#include <Replay/replay.hxx>
+#include <Aircraft/replay.hxx>
 #include <Scenery/tilemgr.hxx>
 #if defined(HAVE_PLIB_PSL)
 #  include <Scripting/scriptmgr.hxx>
@@ -1007,15 +1007,6 @@ do_data_logging_commit (const SGPropertyNode * arg)
     return true;
 }
 
-
-static bool
-do_gui_reload (const SGPropertyNode *)
-{
-    globals->get_subsystem("gui")->reinit();
-    return true;
-}
-
-
 /**
  * Built-in command: Add a dialog to the GUI system.  Does *not*
  * display the dialog.  The property node should have the same format
@@ -1349,7 +1340,6 @@ static struct {
     { "property-cycle", do_property_cycle },
     { "property-randomize", do_property_randomize },
     { "data-logging-commit", do_data_logging_commit },
-    { "gui-reload", do_gui_reload },
     { "dialog-new", do_dialog_new },
     { "dialog-show", do_dialog_show },
     { "dialog-close", do_dialog_close },