Browse Source

[settings] Display "delete" option only for locally-originated settings

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
0bb6ef4d97
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/hci/tui/settings_ui.c

+ 1
- 1
src/hci/tui/settings_ui.c View File

@@ -382,7 +382,7 @@ static void draw_instruction_row ( struct setting_widget *widget ) {
382 382
 	} else {
383 383
 		msg ( INSTRUCTION_ROW,
384 384
 		      "%sCtrl-X - exit configuration utility",
385
-		      ( widget->row.setting ?
385
+		      ( widget->row.originates_here ?
386 386
 			"Ctrl-D - delete setting" INSTRUCTION_PAD : "" ) );
387 387
 	}
388 388
 }

Loading…
Cancel
Save