Update pain.lua

This commit is contained in:
LDDestroier 2019-05-26 04:51:42 -04:00 committed by GitHub
parent 2898b0b95a
commit 89a8469b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -2635,15 +2635,16 @@ I recommend using NFT if you don't need multiple frames, NFP if you don't need t
local res = fileExport(_,plc.defaultSaveFormat)
if not res then
plc.fileName = oldfilename
else
barmsg = "Saved as '"..plc.fileName.."'"
end
barmsg = "Saved as '"..plc.fileName.."'"
break
elseif output == 3 then --Export
local res = fileExport(longestLen+1)
if res then
barmsg = "Exported as '"..res.."'"
break
end
break
elseif output == 4 then -- Open
renderBottomBar("Pick an image file.")
local newPath = lddfm.makeMenu(2, 2, scr_x-1, scr_y-2, fs.getDir(plc.fileName or plc.progname), false, false, false, true, false, nil, true)