mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 12:30:20 +03:00
[settings] Display "delete" option only for locally-originated settings
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -382,7 +382,7 @@ static void draw_instruction_row ( struct setting_widget *widget ) {
|
|||||||
} else {
|
} else {
|
||||||
msg ( INSTRUCTION_ROW,
|
msg ( INSTRUCTION_ROW,
|
||||||
"%sCtrl-X - exit configuration utility",
|
"%sCtrl-X - exit configuration utility",
|
||||||
( widget->row.setting ?
|
( widget->row.originates_here ?
|
||||||
"Ctrl-D - delete setting" INSTRUCTION_PAD : "" ) );
|
"Ctrl-D - delete setting" INSTRUCTION_PAD : "" ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user