Pārlūkot izejas kodu

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 gadus atpakaļ
vecāks
revīzija
0bb6ef4d97
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/hci/tui/settings_ui.c

+ 1
- 1
src/hci/tui/settings_ui.c Parādīt failu

@@ -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
 }

Notiek ielāde…
Atcelt
Saglabāt