mirror of
https://github.com/LDDestroier/CC/
synced 2025-07-27 14:22:58 +00:00
Update pain.lua
This commit is contained in:
parent
2898b0b95a
commit
89a8469b49
5
pain.lua
5
pain.lua
@ -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)
|
local res = fileExport(_,plc.defaultSaveFormat)
|
||||||
if not res then
|
if not res then
|
||||||
plc.fileName = oldfilename
|
plc.fileName = oldfilename
|
||||||
end
|
else
|
||||||
barmsg = "Saved as '"..plc.fileName.."'"
|
barmsg = "Saved as '"..plc.fileName.."'"
|
||||||
|
end
|
||||||
break
|
break
|
||||||
elseif output == 3 then --Export
|
elseif output == 3 then --Export
|
||||||
local res = fileExport(longestLen+1)
|
local res = fileExport(longestLen+1)
|
||||||
if res then
|
if res then
|
||||||
barmsg = "Exported as '"..res.."'"
|
barmsg = "Exported as '"..res.."'"
|
||||||
break
|
|
||||||
end
|
end
|
||||||
|
break
|
||||||
elseif output == 4 then -- Open
|
elseif output == 4 then -- Open
|
||||||
renderBottomBar("Pick an image file.")
|
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)
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user