summaryrefslogtreecommitdiffstats
path: root/src/hci/tui
diff options
context:
space:
mode:
authorMichael Brown2011-03-28 20:07:31 +0200
committerMichael Brown2011-03-28 20:08:01 +0200
commit0bb6ef4d971a4254255fececa1458186dfbc8e9a (patch)
treeafa1e39dedd36bf90ec4f04d21491181c6e193d6 /src/hci/tui
parent[main] Add the "scriptlet" setting (diff)
downloadipxe-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.c2
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 : "" ) );
}
}