From fd9b17ff15022a9326679281b0c7069e3bb1664f 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 0c515c34..65c92e28 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()