From 6f9c71fc89c9f897fd0b908d68f517fb16eebfbc Mon Sep 17 00:00:00 2001 From: Fierelier Date: Fri, 30 Aug 2024 16:03:40 +0200 Subject: [PATCH] Add actual field name to question --- prpw-tui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prpw-tui b/prpw-tui index f39c4bb..741893a 100755 --- a/prpw-tui +++ b/prpw-tui @@ -92,7 +92,7 @@ local function fieldSetType(entry,field) end local function fieldRemove(entry,field) - if not yn("Do you want to remove the field '" .. "'?") then return end + if not yn("Do you want to remove the field '" ..field.attrs.name.. "'?") then return end makeEntryBackup(entry.attrs.id) env.run({"field_remove",entry.attrs.id,field.attrs.name}) env.run({"save"})