Now we have Load/Save buttons to do the Load/Save in the convenient place, so we can drop the top-level entries.
Unified · Split
| @@ -599,14 +599,6 @@ static void conf(struct menu *menu, struct menu *active_menu) · 598 unmodified lines | ||
| 599 | 599 | build_conf(menu); |
| 600 | 600 | if (!child_count) |
| 601 | 601 | break; |
| 602 | − if (menu == &rootmenu) { | |
| 603 | − item_make("--- "); | |
| 604 | − item_set_tag(':'); | |
| 605 | − item_make(_(" Load an Alternate Configuration File")); | |
| 606 | − item_set_tag('L'); | |
| 607 | − item_make(_(" Save an Alternate Configuration File")); | |
| 608 | − item_set_tag('S'); | |
| 609 | − } | |
| 610 | 602 | dialog_clear(); |
| 611 | 603 | res = dialog_menu(prompt ? _(prompt) : _("Main Menu"), |
| 612 | 604 | _(menu_instructions), |
| @@ -643,12 +635,6 @@ static void conf(struct menu *menu, struct menu *active_menu) · 30 unmodified lines | ||
| 643 | 635 | case 's': |
| 644 | 636 | conf_string(submenu); |
| 645 | 637 | break; |
| 646 | − case 'L': | |
| 647 | − conf_load(); | |
| 648 | − break; | |
| 649 | − case 'S': | |
| 650 | − conf_save(); | |
| 651 | − break; | |
| 652 | 638 | } |
| 653 | 639 | break; |
| 654 | 640 | case 2: |