]> git.mxchange.org Git - flightgear.git/commitdiff
Whoops. I had missed that we have that already. Reverting. Thanks Erik.
authormfranz <mfranz>
Sun, 3 Jul 2005 15:43:32 +0000 (15:43 +0000)
committermfranz <mfranz>
Sun, 3 Jul 2005 15:43:32 +0000 (15:43 +0000)
    <binding>
     <command>reinit</command>
     <subsystem>gui</subsystem>
    </binding>

src/Main/fg_commands.cxx

index 3a63fdb3e5fa98872427ca7bd5722939b76960d5..21e9975e54c2169d30b810ee23ca5ef647efe66a 100644 (file)
@@ -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 },