diff options
author | Michael Brown | 2011-03-28 20:07:31 +0200 |
---|---|---|
committer | Michael Brown | 2011-03-28 20:08:01 +0200 |
commit | 0bb6ef4d971a4254255fececa1458186dfbc8e9a (patch) | |
tree | afa1e39dedd36bf90ec4f04d21491181c6e193d6 /src/hci/tui | |
parent | [main] Add the "scriptlet" setting (diff) | |
download | ipxe-0bb6ef4d971a4254255fececa1458186dfbc8e9a.tar.gz ipxe-0bb6ef4d971a4254255fececa1458186dfbc8e9a.tar.xz ipxe-0bb6ef4d971a4254255fececa1458186dfbc8e9a.zip |
[settings] Display "delete" option only for locally-originated settings
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci/tui')
-rw-r--r-- | src/hci/tui/settings_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci/tui/settings_ui.c b/src/hci/tui/settings_ui.c index 2638656d..ed076101 100644 --- a/src/hci/tui/settings_ui.c +++ b/src/hci/tui/settings_ui.c @@ -382,7 +382,7 @@ static void draw_instruction_row ( struct setting_widget *widget ) { } else { msg ( INSTRUCTION_ROW, "%sCtrl-X - exit configuration utility", - ( widget->row.setting ? + ( widget->row.originates_here ? "Ctrl-D - delete setting" INSTRUCTION_PAD : "" ) ); } } |