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 ...
This commit is contained in:
parent
7f9b0fbb73
commit
133cc2b0c7
1 changed files with 2 additions and 2 deletions
|
@ -1009,7 +1009,7 @@ do_data_logging_commit (const SGPropertyNode * arg)
|
||||||
|
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
do_menu_reload (const SGPropertyNode *)
|
do_gui_reload (const SGPropertyNode *)
|
||||||
{
|
{
|
||||||
globals->get_subsystem("gui")->reinit();
|
globals->get_subsystem("gui")->reinit();
|
||||||
return true;
|
return true;
|
||||||
|
@ -1349,7 +1349,7 @@ static struct {
|
||||||
{ "property-cycle", do_property_cycle },
|
{ "property-cycle", do_property_cycle },
|
||||||
{ "property-randomize", do_property_randomize },
|
{ "property-randomize", do_property_randomize },
|
||||||
{ "data-logging-commit", do_data_logging_commit },
|
{ "data-logging-commit", do_data_logging_commit },
|
||||||
{ "menu-reload", do_menu_reload },
|
{ "gui-reload", do_gui_reload },
|
||||||
{ "dialog-new", do_dialog_new },
|
{ "dialog-new", do_dialog_new },
|
||||||
{ "dialog-show", do_dialog_show },
|
{ "dialog-show", do_dialog_show },
|
||||||
{ "dialog-close", do_dialog_close },
|
{ "dialog-close", do_dialog_close },
|
||||||
|
|
Loading…
Add table
Reference in a new issue