From 133cc2b0c7fae33e601bc0af8f9a051c3a476fd2 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 3 Jul 2005 15:20:05 +0000 Subject: [PATCH] Rename "menu-reload" to "gui-reload", which is what is actually done behind the scenes: It reloads all gui files from $FG_ROOT/gui/. That's useful for gui development. Maybe we'll have a "menu-reload" later ... --- src/Main/fg_commands.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index ef67b98ca..3a63fdb3e 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -1009,7 +1009,7 @@ do_data_logging_commit (const SGPropertyNode * arg) static bool -do_menu_reload (const SGPropertyNode *) +do_gui_reload (const SGPropertyNode *) { globals->get_subsystem("gui")->reinit(); return true; @@ -1349,7 +1349,7 @@ static struct { { "property-cycle", do_property_cycle }, { "property-randomize", do_property_randomize }, { "data-logging-commit", do_data_logging_commit }, - { "menu-reload", do_menu_reload }, + { "gui-reload", do_gui_reload }, { "dialog-new", do_dialog_new }, { "dialog-show", do_dialog_show }, { "dialog-close", do_dialog_close }, -- 2.39.5