reorder nagview options on doc:save error to be more consistent with other nagview confirmations (#1696)
This commit is contained in:
parent
c27d9aa0c0
commit
fd9b17ff15
|
@ -44,8 +44,8 @@ local function save(filename)
|
||||||
else
|
else
|
||||||
core.error(err)
|
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), {
|
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)
|
}, function(item)
|
||||||
if item.text == "Yes" then
|
if item.text == "Yes" then
|
||||||
core.add_thread(function()
|
core.add_thread(function()
|
||||||
|
|
Loading…
Reference in New Issue