瀏覽代碼

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 年之前
父節點
當前提交
0bb6ef4d97
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/hci/tui/settings_ui.c

+ 1
- 1
src/hci/tui/settings_ui.c 查看文件

@@ -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…
取消
儲存