From df12a5dde68ce8b0c3405504ea800b5a648529c4 Mon Sep 17 00:00:00 2001 From: vqn <85911372+vqns@users.noreply.github.com> Date: Sat, 20 Jan 2024 01:19:12 +0100 Subject: [PATCH] reorder nagview options on doc:save error to be more consistent with other nagview confirmations (#1696) --- data/core/commands/doc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/core/commands/doc.lua b/data/core/commands/doc.lua index d697e663..e841bb9c 100644 --- a/data/core/commands/doc.lua +++ b/data/core/commands/doc.lua @@ -44,8 +44,8 @@ local function save(filename) else core.error(err) core.nag_view:show("Saving failed", string.format("Couldn't save file \"%s\". Do you want to save to another location?", doc().filename), { - { text = "No", default_no = true }, - { text = "Yes", default_yes = true } + { text = "Yes", default_yes = true }, + { text = "No", default_no = true } }, function(item) if item.text == "Yes" then core.add_thread(function()