From 0730ecc8e230f9ae870216d94217e87d16fa2a98 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 3 Jul 2005 15:43:32 +0000 Subject: [PATCH] Whoops. I had missed that we have that already. Reverting. Thanks Erik. reinit gui --- src/Main/fg_commands.cxx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index 3a63fdb3e..21e9975e5 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -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 }, -- 2.39.5